View Single Post
  #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