X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Disable switching product images when variants defined? (https://forum.x-cart.com/showthread.php?t=44095)

ADDISON 12-12-2008 11:17 AM

Re: Disable switching product images when variants defined?
 
am2003 - "I defined an option named color (Red, Blue, Green), and added an image for every color." Did you define a image for each variant? If you delete them the product image (if you have one), or the product thumbnail will be the only thing displayed.

@JWait I set up an image for every color. I have also a product default image. How can I change the template, if variants defined to not show the product default image? It is making me crazy to see for a second the default product image and then how it is changed to the first variants image.

Can we do something?

JWait 12-12-2008 04:04 PM

Re: Disable switching product images when variants defined?
 
When you set up the option. For "Option group type:" did you choose "Price modifier", "Product variant", or "Custom text field" ?

If you choose "Product variant" it will give each "option" a separate SKU and allow you to change prices. It will also give you the option to add a variant image for each product variant. What this does is when the customer changes the selection box to a different color the main image will change to the variant image associated with that product variant.

ADDISON 12-12-2008 09:18 PM

Re: Disable switching product images when variants defined?
 
JWait: I set up my product variant based on "Product variant" choosed. With SKU, Price and Image.

My problem is when I load the product page, for a second it shows the product thumbnail (the product default image) and then switches to the first variant.

I should change the template and if variants with images defined not show product default image. Normally to show the first defined variant image.

JWait 12-13-2008 04:59 AM

Re: Disable switching product images when variants defined?
 
"for a second it shows the product thumbnail (the product default image)"

Do you have a product image defined? See the attached image in post #10 to see what I mean.

ADDISON 12-13-2008 05:02 AM

Re: Disable switching product images when variants defined?
 
Ok, I understood. I will delete the default image when working with variants.

Cheers.


All times are GMT -8. The time now is 01:11 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.