VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Lymus on January 14, 2012, 17:26:06 PM

Title: How to change text in Add to Cart button
Post by: Lymus on January 14, 2012, 17:26:06 PM
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.
Title: Re: How to change text in Add to Cart button
Post by: jenkinhill on January 14, 2012, 18:10:00 PM
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
Title: Re: How to change text in Add to Cart button
Post by: Lymus on January 15, 2012, 17:19:40 PM
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
Title: Re: How to change text in Add to Cart button
Post by: jenkinhill on January 15, 2012, 18:07:36 PM
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