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)
-   -   Products displayed in the cart with Variants (https://forum.x-cart.com/showthread.php?t=34974)

scoobie 10-28-2007 02:55 AM

Products displayed in the cart with Variants
 
Hi,

My shoe products have variants for size and colour. Is there some code that when a different colour is selected (i.e. different from the image displayed), the cart page can display a thumbnail of the colour selected from the colour dropdown box and the product description gets updated. This sounds a big ask or how is everyone handling this?

carpeperdiem 10-28-2007 03:25 AM

Re: Products displayed in the cart with Variants
 
Quote:

Is there some code that when a different colour is selected (i.e. different from the image displayed), the cart page can display a thumbnail of the colour selected from the colour dropdown box
That is the deault behavior for version 4.1.x
In your variant setup, and an image per variant.

Quote:

and the product description gets updated
That is not default -- if you need a different product description per variant, you will need some custom code.

BUT -- if you sell shoes, and the "only" difference in the variant is the color, wouldn't a unique product image be sufficient? I guess what I'm saying, if the variant requires a unique description, it's not really a variant, is it?

Try adding variant images.

scoobie 10-29-2007 01:11 AM

Re: Products displayed in the cart with Variants
 
Thanks Carp. It is a good point you made. Silly me put the colour of the shoe in the product name. For example:- Brown Suede Jolie T1 high heels. The things you do when you are inexperienced......

If I use a more generic product name without the colour, adding an image should be fine.


All times are GMT -8. The time now is 07:26 PM.

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