View Single Post
  #4  
Old 01-17-2012, 06:40 AM
  JWait's Avatar 
JWait JWait is offline
 

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

Default Re: Adding "More Colors" to products_t.tpl listing

If "more colors" is the only product option you have (i.e. no "size", "length", etc.) then it should be a simple matter of checking if the product has options in your products_tpl and displaying a "more colors" text or text variable.

Something like adding..
{if $active_modules.Product_Options ne ""}"More Colors"{/if} to your products_t.tpl might work.

Otherwise, just follow how product options are displayed on the product.tpl and product_details.tpl to find where it is determined where a product has options or not and add that to your products_t.tpl in the appropriate place with the appropriate text.
__________________
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