Page 1 of 1

Attribute values not saved

Posted: 27 Oct 2022, 15:41
by Huub
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!

Re: Attribute values not saved

Posted: 27 Oct 2022, 23:07
by Huub
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?

Re: Attribute values not saved

Posted: 29 Oct 2022, 23:12
by Jan
Ok

Re: Attribute values not saved

Posted: 10 Oct 2024, 16:28
by Manti
I have the same Problem but i did not find the Lines to uncomment in the order.php

Have somthing chanced since 2022?

Re: Attribute values not saved

Posted: 14 Oct 2024, 18:02
by Jan
Hi, nonthing changed there. The lines are cca 709 + in order.php

Jan