Page 1 of 1

add date form in checkout

Posted: 01 Sep 2022, 15:47
by combag
Hello, I would like to add the possibility of giving a rental date in checkout, is this option possible? Thank you for your help

Re: add date form in checkout

Posted: 04 Sep 2022, 12:26
by Jan
Hi, for now there is no such option, so this needs to be written into comments/description box. Some way could be customize checkout output with override (creating calender fields) and store such information into comments fields :idea: Or using plugin to customize the checkout :idea:

Jan

Re: add date form in checkout

Posted: 05 Sep 2022, 12:06
by combag
Hello and thank you very much for your answer, so I would like to at least add this comment in the email, I added this line of code in the command, could you tell me why the value is not displayed? thanks for help.

Code: Select all

$o[] = '<div><b>'.JText::_('COM_PHOCACART_NOTES_AND_REQUESTS_ABOUT_ORDER').'</b>: '.$d['common']->phcomment.'</div>';
The title is displayed fine, but not the value of the comment

Re: add date form in checkout

Posted: 09 Sep 2022, 00:54
by Jan
Hi, comment can be added to email per variable, see:

https://www.phoca.cz/documents/116-phoc ... or-vendors

{customercomment}

Jan