News:

Support the VirtueMart project and become a member

Main Menu

How to change text in Add to Cart button

Started by Lymus, January 14, 2012, 17:26:06 PM

Previous topic - Next topic

Lymus

Hi everyone,

I would like to change a text in Add to cart button, but apparanteley I can not find the way to do it.
I have found the way to change the colour of it, but not text.
Please can anyone direct me in to the right direction.
Thanks.

jenkinhill

It is in joomla root/language/en-GB/en-GB.mod_virtuemart_product.ini  - the variable is COM_VIRTUEMART_CART_ADD_TO

Use Language override to change the text:  http://forum.virtuemart.net/index.php?topic=92944.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Lymus

Hi,

Thanks for help. I do really appreciate this.
The file I had to edit was:

root\language\en-GB\en-GB.com_virtuemart
and it is line 24 to be edited

Thanks again for a quick help.

Lymus

jenkinhill

Quote from: Lymus on January 15, 2012, 17:19:40 PM
root\language\en-GB\en-GB.com_virtuemart
and it is line 24 to be edited

Don't edit the file. It may be overwritten during an update, so use a language override
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum