add date form in checkout

Phoca Cart - complex e-commerce extension
combag
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 06 Feb 2019, 10:54

add date form in checkout

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: add date form in checkout

Post 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
If you find Phoca extensions useful, please support the project
combag
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 06 Feb 2019, 10:54

Re: add date form in checkout

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: add date form in checkout

Post by Jan »

Hi, comment can be added to email per variable, see:

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

{customercomment}

Jan
If you find Phoca extensions useful, please support the project
Post Reply