problem characteristics add to cart

  • Posts: 120
  • Thank you received: 2
11 years 2 months ago #163088

Hi dear
I have characteristics for my product but when add a product in cart only add my default characteristics in my cart and don't add my user selected variant characteristic to cart. I want when a user select a characteristic add selected characteristics in cart.
for example i have color characteristic and 3 variant:
red
green
blue
color red is my default and when a user select each of my color only add color red in cart and it's problem for my shop.
please help me.
thank you

Last edit: 11 years 2 months ago by kaya.

Please Log in or Create an account to join the conversation.

  • Posts: 84300
  • Thank you received: 13697
  • MODERATOR
11 years 2 months ago #163118

Hi,

This can happen for three reasons:
1. There is a javascript error on the page which prevents the characteristics system to switch between the variants properly.
2. You didn't modify the layout of the product page correctly (or your template view override is not correct) and because of that the HTML of the page is not correct and the characteristics system cannot switch properly between the variants.
3. same as 2 but with the HTML of the product description.

Please Log in or Create an account to join the conversation.

  • Posts: 120
  • Thank you received: 2
11 years 2 months ago #163140

Thank you daer nicolas
when i select for example color green change product image and show product name with color green but when i add color green to my cart only show color red in my cart.
dear nicolas now i check which view for checking my html?
checking my template html? or hikashop view?

Last edit: 11 years 2 months ago by kaya.

Please Log in or Create an account to join the conversation.

  • Posts: 84300
  • Thank you received: 13697
  • MODERATOR
11 years 2 months ago #163170

Go in the menu Display>Views of HikaShop and look at the "product" view files for your template. There, if you see a bin icon in the "remove customization" column of the listing for some of the view files, it means that they are not the original view files that we ship with hikashop and that they have been altered. More specifically, the show and show_default view files.
If that's the case, you can click on the bin icon in order to remove the customization on these views and use the default code of HikaShop instead. I recommend that you make a backup of the files contain before as you will loose the customizations of the template/that you made in these files when you do that.

The following user(s) said Thank You: kaya

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum