Attribute values not saved

Phoca Cart - complex e-commerce extension
Huub
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 21 Oct 2022, 11:03

Attribute values not saved

Post 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!
Huub
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 21 Oct 2022, 11:03

Re: Attribute values not saved

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

Re: Attribute values not saved

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Manti
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 10 Oct 2024, 16:24

Re: Attribute values not saved

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

Re: Attribute values not saved

Post by Jan »

Hi, nonthing changed there. The lines are cca 709 + in order.php

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