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

Thumbnails for Product Options

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-27-2008, 12:51 AM
 
John Livesey John Livesey is offline
 

Advanced Member
  
Join Date: May 2008
Posts: 33
 

Default Thumbnails for Product Options

Hi all,

Is there any way of adding a small descriptive image for placement next to the product options?

For example I'd like a small paint tin next to the Preserver product option on my page? It doesn't have to change if the option is selected but just thought it'd look more descriptive to the customer.

Thanks in advance and apologies if there is already an answer to this elsewhere on the forum.

John
__________________
Version: 4.1.9
Reply With Quote
  #2  
Old 06-27-2008, 01:21 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Thumbnails for Product Options

Have you tried using Variants for your Options - you can add images that way for each option/variant?
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 06-27-2008, 01:58 AM
 
John Livesey John Livesey is offline
 

Advanced Member
  
Join Date: May 2008
Posts: 33
 

Default Re: Thumbnails for Product Options

The variant route just changes the main image, which is not what I require.

I just want a thumbnail next to each drop-down option e.g.

IMG Dark Oak preserver - +ё65.00
goes Pine Preserver - +ё65.00
here Clear Preserver - +ё65.00

I don't need the image to change at all.

Thanks
John
__________________
Version: 4.1.9
Reply With Quote
  #4  
Old 06-27-2008, 02:02 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Thumbnails for Product Options

Right - not sure this is the answer either - but might be worth a look -
http://www.phpsitesolutions.com/x-cart_variant_chart.htm
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #5  
Old 08-20-2008, 11:38 AM
 
boxerbay boxerbay is offline
 

Senior Member
  
Join Date: Nov 2002
Posts: 170
 

Default Re: Thumbnails for Product Options

Has anyone figured this one out. I need it.
__________________
Thanks,
Alex.
Too many version to list. I have some on 3.51 and some on the latest version.
Reply With Quote
  #6  
Old 08-24-2008, 07:19 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Thumbnails for Product Options

Quote:
Originally Posted by John Livesey
I just want a thumbnail next to each drop-down option e.g.

IMG Dark Oak preserver - +ё65.00
goes Pine Preserver - +ё65.00
here Clear Preserver - +ё65.00


Just out of curiosity, what is a "preserver"? From your description here, it appears to be some kind of paint finish that protects wood. Is that correct? If so, I don't think a "small paint tin" image would work as well as a more descriptive term than "preserver.

Also (assuming I am correct in what a preserver is) what would be wrong with having the main image change with each type of preserver (variant) chosen? It would give the customer a better idea what each option would look like applied to the product without having to actually visualize it. Yes, it would be a PITA to create all of those images, but would probably increase sales, and after all, isn't that what you are trying to do?

If all you want is a generic "paint can" image, probably the place to add that is in the skin1/modules/Product_Options/customer_options.tpl somewhere around...
Code:
{include file="modules/Product_Options/check_options.tpl"} </td></tr> {/if} ---- ADD YOUR IMAGE HERE? ---- {foreach from=$product_options item=v} {if $v.options ne '' || $v.is_modifier eq 'T'} <tr> <td valign="middle" height="25">{if $usertype eq "A"}{$v.class}{else}{$v.classtext|default:$v.class}{/if}</td> <td valign="middle"> {if $cname ne ""}

The problem is, without some sort of if-/if statement the image will show for every product that has an option. I would still go the "variant photos" route
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #7  
Old 09-10-2008, 09:13 AM
 
boxerbay boxerbay is offline
 

Senior Member
  
Join Date: Nov 2002
Posts: 170
 

Default Re: Thumbnails for Product Options

variants will be a chore if all you want to do is show a fabric option and a color finish option.

Imagine 200 fabric options and 4 wood color finishes that means you would have to create 800 images for each product. The client has over 400 products so we're looking at 320,000 images!!!!

The product option which is the same for almost all products - FABRIC COLOR should be able to pull a swatch from the fabric swatch images and show it next to the option box.

Same thing for the color finish option.

Check out www.patio.com and see how there product options work with swatches to build the product.

I need this mod badly!@!
__________________
Thanks,
Alex.
Too many version to list. I have some on 3.51 and some on the latest version.
Reply With Quote
  #8  
Old 09-11-2008, 06:34 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Thumbnails for Product Options

Quote:
Originally Posted by boxerbay
variants will be a chore if all you want to do is show a fabric option and a color finish option.

Imagine 200 fabric options and 4 wood color finishes that means you would have to create 800 images for each product. The client has over 400 products so we're looking at 320,000 images!!!!

The product option which is the same for almost all products - FABRIC COLOR should be able to pull a swatch from the fabric swatch images and show it next to the option box.

Same thing for the color finish option.

Check out www.patio.com and see how there product options work with swatches to build the product.

I need this mod badly!@!

Well, I agree that 320,000 images would be a chore
Your example web site was confusing to me (I was actually thinking about buying some patio chair cushions) and I could not determine if what I was ordering would work for me (so I did not order).

It sounds like you need something like
if "option" ne ""
if "option" eq "perserver"
display paint can image
/if
/if

good luck
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #9  
Old 10-24-2008, 07:37 AM
 
boxerbay boxerbay is offline
 

Senior Member
  
Join Date: Nov 2002
Posts: 170
 

Default Re: Thumbnails for Product Options

bump still looking for this.

another example...

We offer widget in green, blue, red

In product option drop down have green swatch, red swatch, blue swatch that way the client can see how light or dark each of those is.
__________________
Thanks,
Alex.
Too many version to list. I have some on 3.51 and some on the latest version.
Reply With Quote
  #10  
Old 09-08-2010, 08:36 PM
 
aarb aarb is offline
 

Member
  
Join Date: Mar 2010
Posts: 13
 

Default Re: Thumbnails for Product Options

Did you find a solution for this?
__________________
X-Cart Gold 4.3.2
LiteCommerce version: 2.2.41
InventoryTracking
ProductOptions
WholesaleTrading
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:26 PM.

   

 
X-Cart forums © 2001-2020