- Posts: 28
- Thank you received: 0
Product Variant display problem
10 years 7 months ago - 10 years 7 months ago #236688
by AntinJH
Product Variant display problem was created by AntinJH
-- url of the page with the problem -- :
antin.jonchere.fr
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.5.1
Hi,
I'm trying to add a color option on my product. I found anything I needed is this forum and it works just fine except for one thing : the custom display I created in Product -> show_default file disepear when I chose a diferent color.
To be clear, I want to have a product with 4 different colors, and when the client chose a color, the display stay the same.
Here is the problem :
STEP 1 : set the colors : NO PROBLEM
STEP 2 : chose a color and create a "Variant" product : NO PROBLEM
STEP 3 : my custom display (the "Fabriqué en France" image) AND the color choices disappear...
So my question is : How can I keep my "fabriqué en France" image AND the color choices even in the "Variant" product view ?
Thanks !
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.5.1
Hi,
I'm trying to add a color option on my product. I found anything I needed is this forum and it works just fine except for one thing : the custom display I created in Product -> show_default file disepear when I chose a diferent color.
To be clear, I want to have a product with 4 different colors, and when the client chose a color, the display stay the same.
Here is the problem :
STEP 1 : set the colors : NO PROBLEM
STEP 2 : chose a color and create a "Variant" product : NO PROBLEM
STEP 3 : my custom display (the "Fabriqué en France" image) AND the color choices disappear...
So my question is : How can I keep my "fabriqué en France" image AND the color choices even in the "Variant" product view ?
Thanks !
Last edit: 10 years 7 months ago by AntinJH.
Please Log in or Create an account to join the conversation.
10 years 7 months ago #236806
by nicolas
Replied by nicolas on topic Product Variant display problem
Hi,
The problem you have is that you moved the characteristics area and the custom image inside the quantity area (where the add to cart and quantity field are): take.ms/rwNWd
When you change the variant selected, the system refreshes the quantity area with the quantity input field and the add to cart button of the new variant and thus you loose the characteristics area and the custom image as they are not supposed to be in there.
Move them outside of the quantity area (just before it for example) in your show_default and you won't have the problem.
The problem you have is that you moved the characteristics area and the custom image inside the quantity area (where the add to cart and quantity field are): take.ms/rwNWd
When you change the variant selected, the system refreshes the quantity area with the quantity input field and the add to cart button of the new variant and thus you loose the characteristics area and the custom image as they are not supposed to be in there.
Move them outside of the quantity area (just before it for example) in your show_default and you won't have the problem.
The following user(s) said Thank You: AntinJH
Please Log in or Create an account to join the conversation.
10 years 6 months ago #237018
by AntinJH
Replied by AntinJH on topic Product Variant display problem
THANKS a lot
Working perfectly in just 2 seconds
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds