Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Change SOLD OUT button to text on new products page only

Change SOLD OUT button to text on new products page only

Locked

Views: 1,738

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
22 Sep 2008, 11:00 PM
#1
asphole avatar

asphole

New Zenner

Join Date:
Mar 2007
Posts:
25
Plugin Contributions:
0

Change SOLD OUT button to text on new products page only

Hello everyone,

I am trying to change the SOLD OUT button into text (no image) on the new products page only. Unfortunately php is not my strong point so i'm now totally stuck! I've managed to change the layout from tables to divs and set the main image height/width but when a 'sold out' item shows it is now stretching the 'sold out' image to the size i set in my stylesheet for the main images.

Really hoping some genius coders can stop me pulling the rest of my hair out!

Thanks.

23 Sep 2008, 2:56 PM
#2
asphole avatar

asphole

New Zenner

Join Date:
Mar 2007
Posts:
25
Plugin Contributions:
0

Re: Change SOLD OUT button to text on new products page only

asphole:

Hello everyone,

I am trying to change the SOLD OUT button into text (no image) on the new products page only. Unfortunately php is not my strong point so i'm now totally stuck! I've managed to change the layout from tables to divs and set the main image height/width but when a 'sold out' item shows it is now stretching the 'sold out' image to the size i set in my stylesheet for the main images.

Really hoping some genius coders can stop me pulling the rest of my hair out!

Thanks.

PS:The page in question is: tpl_modules_products_new_listing.php