Site maintenance: Sun 15 Nov, from 20:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / Change text colour of product in product list based on model

Change text colour of product in product list based on model

Locked

Started by rpain on 29 Sep 2008, 3:11 PM · Views: 999

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
29 Sep 2008, 3:11 PM
#1
rpain avatar

rpain

Zen Follower

Join Date:
Mar 2005
Location:
Watford, UK
Posts:
146
Plugin Contributions:
0

Change text colour of product in product list based on model

Hi everyone,

http://www.wool me r.co.uk/index.php?main_page=index&cPath=4_27 (remove ' ')

There are two kinds of tube - epoxy and vinylester. Can we have the epoxy rod text name in a different colour to highlight that it's a different material to the vinylester?

The only other question - I'd like to remove the pictures column of the product table but can't find how to do it. Would anyone have any pointers? We're going to have a small generic picture in the text at the top instead.

Thanks,

Richard

29 Sep 2008, 3:32 PM
#2
rpain avatar

rpain

Zen Follower

Join Date:
Mar 2005
Location:
Watford, UK
Posts:
146
Plugin Contributions:
0

Re: Change text colour of product in product list based on model

Just for reference - I managed to remove the image column in the product listing page around line 28 in the tpl_tabular_display.php file (in includes/templates/YOUR TEMPLATE/common/) changing:

for($col=0;$col<sizeof($list_box_contents[$row]);$col++) {

to

for($col=1;$col<sizeof($list_box_contents[$row]);$col++) {

Hope that's of use to someone.