Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Products displayed in the cart with Variants

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-28-2007, 02:55 AM
  scoobie's Avatar 
scoobie scoobie is offline
 

Advanced Member
  
Join Date: Dec 2006
Location: Sydney
Posts: 84
 

Default 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?
__________________
X-CART 4.1.8 (Add-Ons: onSale, CDSEO, AOM, Thickbox)
PHP 4.4.4
SQL 4.1.21
Linux O/S
Reply With Quote
  #2  
Old 10-28-2007, 03:25 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default 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.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #3  
Old 10-29-2007, 01:11 AM
  scoobie's Avatar 
scoobie scoobie is offline
 

Advanced Member
  
Join Date: Dec 2006
Location: Sydney
Posts: 84
 

Default 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.
__________________
X-CART 4.1.8 (Add-Ons: onSale, CDSEO, AOM, Thickbox)
PHP 4.4.4
SQL 4.1.21
Linux O/S
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:49 PM.

   

 
X-Cart forums © 2001-2020