View Single Post
  #5  
Old 01-17-2012, 09:05 AM
  Ana's Avatar 
Ana Ana is offline
 

Senior Member
  
Join Date: Aug 2004
Location: Hurricane Alley, South Florida USA
Posts: 186
 

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

Actually, we do have sizes as well but I see what you are getting at. All of our products have at least one color option so it would have to be any product who's color option values are greater than 1.

Basically if the product $v.class = color and it's classid.optionid value > 1 then display "more colors".

My problem is getting the coding correct. I'm not a wizbang at it

Ana
__________________
"Real knowledge is to know the extent of one's ignorance."-- Confucius

X-Cart 4.4.4
MySQL 5.0.92
Apache/2.0.64 (Unix)
PHP 5.3.6
CentOS 5.5

MODS:
Template Mela- Theme XCT010002
Altered Cart- CheckoutOne
BCS Engineering- Back In Stock Notification
X-Cart Mods- Thumbnail Candy
X-Cart Mods-Advanced Shop Closed
Google Site Search
Reply With Quote