Forums / Customization from the Admin / 'Add to Cart' change globally to 'Quantity'

'Add to Cart' change globally to 'Quantity'

Started by tcarden on 15 Dec 2012, 6:55 PM · Views: 1,180

Results 1 to 4 of 4
15 Dec 2012, 6:55 PM
#1
tcarden avatar

tcarden

Zen Follower

Join Date:
Oct 2012
Posts:
282
Plugin Contributions:
0

'Add to Cart' change globally to 'Quantity'

Hi, My client wants to change the verbiage 'Add to Cart' to 'Quantity'.
not the button name itself, but the text that is displayed next to the Quantity input field.

where can be this be done? i tried looking in that developers toolkit page and found the constant for the button which i will try but i don't that's it,

thanks

15 Dec 2012, 7:08 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,131
Plugin Contributions:
56

Re: 'Add to Cart' change globally to 'Quantity'

When I searched for add to cart in the Developer's Tool Kit, it brought up /includes/languages/english.php:

Line #366 : define('PRODUCTS_ORDER_QTY_TEXT','Add to Cart: '); 
15 Dec 2012, 7:18 PM
#3
tcarden avatar

tcarden

Zen Follower

Join Date:
Oct 2012
Posts:
282
Plugin Contributions:
0

Re: 'Add to Cart' change globally to 'Quantity'

fantastic, thanks!

15 Dec 2012, 7:39 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: 'Add to Cart' change globally to 'Quantity'

And of course you should make the change in a copy of that file in /includes/languages/your_template/english.php, where all customized sitewide text should be.