Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Switch Off Button text and just show image?

Switch Off Button text and just show image?

Locked

Views: 900

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
12 Sep 2008, 12:15 PM
#1
jenzi avatar

jenzi

Zen Follower

Join Date:
Jan 2007
Posts:
145
Plugin Contributions:
0

Switch Off Button text and just show image?

I could have sworn I saw an option somewhere in admin where I can switch off the text that accompanies the button? For eg, on this page here (product info page) I don't need "add to cart" to show next to the button as well. Or do I have to hack code to achieve this? Thanks!

12 Sep 2008, 1:22 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,627
Plugin Contributions:
0

Re: Switch Off Button text and just show image?

The switch you have seen turns off the text and the quantities box. You can remove the text by modifying the language file and putting it in your override directory.

In includes/languages/english.php find:

define('PRODUCTS_ORDER_QTY_TEXT','Add to Cart: ');

change to:

define('PRODUCTS_ORDER_QTY_TEXT','');

12 Sep 2008, 1:36 PM
#3
jenzi avatar

jenzi

Zen Follower

Join Date:
Jan 2007
Posts:
145
Plugin Contributions:
0

Re: Switch Off Button text and just show image?

Absolutely perfect! Thanks!