I would like to know where is the data stored when a customer leaves a note about the order.
Label: COM_PHOCACART_NOTES_AND_REQUESTS_ABOUT_ORDER
The problem is I cant find it nor in phpmyadmin neither in notification emails:-(
notes and requests about the order
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: notes and requests about the order
Hi, it is stored in Phoca Cart Orders (phocacart_orders) table in column "comment" but there is a typo error which will be fixed in next version.
Quick fix:
administrator\components\com_phocacart\libraries\phocacart\order\order.php
line 211
FROM:
TO:
Jan
Quick fix:
administrator\components\com_phocacart\libraries\phocacart\order\order.php
line 211
FROM:
Code: Select all
$d['comment'] = $data['comment'];
Code: Select all
$d['comment'] = $data['phcomment'];
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: notes and requests about the order
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 34
- Joined: 16 May 2018, 19:46
Re: notes and requests about the order
So, I did find it in phpmyadmin and on the backend when opening an individual order in the first column of orders menu.
My question is if its possible to display this checkout comment say in an email or somewhere more visible. Or shipping note or invoice or order receipt?
Having hundreds of orders its rather difficult to see if there was a comment or not. Looking for it in phpmyadmin is hard as that only gives the order IDs.
I got many orders and just noticed in phpmadmin that I received a dozen comments:-(
My question is if its possible to display this checkout comment say in an email or somewhere more visible. Or shipping note or invoice or order receipt?
Having hundreds of orders its rather difficult to see if there was a comment or not. Looking for it in phpmyadmin is hard as that only gives the order IDs.
I got many orders and just noticed in phpmadmin that I received a dozen comments:-(
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: notes and requests about the order
Hi,
you can add variables to email text - to customer or other users email texts - so e.g. you will set that email to others will be sent to administrator and into text you will add following variable:
https://www.phoca.cz/documents/116-phoc ... or-vendors
Jan
you can add variables to email text - to customer or other users email texts - so e.g. you will set that email to others will be sent to administrator and into text you will add following variable:
Code: Select all
{customercomment}
Jan
If you find Phoca extensions useful, please support the project