So far i am really impressed by all Phocacart has to offer.
It allows me a lot while developing a new webshop.
But today i ran into a problem i wasnt able to solve .....
I used attributes to make text-fields like ..... "Typ your remark?" (textarea field) ..... "What name should be printed?" (text64)
They appear nice in the frontend, BUT the entered values arent saved in the database and also not added to the order-email the customer gets/sees.
Can someone help me solve this and tell me what i am doing wrong.
De values from select-fields (for example a dropdown select field for "Size") are saved and displayed.
Thank you in advance for your help!
Attribute values not saved
-
- Phoca Newbie
- Posts: 5
- Joined: 21 Oct 2022, 11:03
Re: Attribute values not saved
Solved it :)
Turns out the solution is in the file order.php where you can uncomment a few lines after ....
/* Should we display the values of attributes added by users in order/delivery note/receipt/invoice?
Turns out the solution is in the file order.php where you can uncomment a few lines after ....
/* Should we display the values of attributes added by users in order/delivery note/receipt/invoice?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
-
- Phoca Newbie
- Posts: 1
- Joined: 10 Oct 2024, 16:24
Re: Attribute values not saved
I have the same Problem but i did not find the Lines to uncomment in the order.php
Have somthing chanced since 2022?
Have somthing chanced since 2022?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Attribute values not saved
Hi, nonthing changed there. The lines are cca 709 + in order.php
Jan
Jan
If you find Phoca extensions useful, please support the project