News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Product Custom Fields on Add to Cart Popup

Started by yuewupostbox, December 14, 2013, 19:05:36 PM

Previous topic - Next topic

yuewupostbox

Hello there,

I am now facing an issue about displaying product custom fields on add to cart popup,

does anyone have solution or approaches about this?

Thanks! :)

balai

Quote from: yuewupostbox on December 14, 2013, 19:05:36 PM
I am now facing an issue about displaying product custom fields on add to cart popup,

What you mean?

yuewupostbox

Hello balai,

As i have enabled the feature "Display modal popup upon 'Add to cart'" from Configuration > Checkout,

when i am adding an item to cart (the item have custom fields, let say color and i have selected RED), it will pop up a white box with the item name with quantity, continue shopping & checkout button, but it's not with the custom fields with RED color.

In file level, the filename should be padded.php.

Do you have any ideas? ;)

yuewupostbox

Hi,

I have tried to uncomment the following lines from cart.php but it's empty, any ideas?

$product -> customfields = empty($tmpProduct -> customfields) ? array() : $tmpProduct->customfields;

balai

I am not sure if the custom field should be displayed there.

Is it displayed in your cart page?

yuewupostbox

Hello balai,

yes , cart is showing the correct custom fields.