News:

Looking for documentation? Take a look on our wiki

Main Menu

Change Text (inc. tax: $xxx)

Started by media991, March 14, 2012, 07:20:48 AM

Previous topic - Next topic

media991

Hi Everyone, hope someone might be able to advise how to change the wording Tax into VAT in virtuemart 2.0.

So it would go from this

inc. tax: $xxx

To this:

inc. VAT: $xxx

Thanks in advance :)

Alan_Smith

#1
You have to create Inc.VAT variable which can store value of inc. Tax. Then you have to change the value of tax into VAT as TOTAL_WITH_VAT="Total with TAX ". Here, you just require the same value of VAT which available in tax, so you can easily change value by giving equally syntax.

jenkinhill

To change the word "tax" to "VAT" is accomplished by locating the relevant language strings (it will need changing in more than one file/place) and creating a language override so the change does not get overwritten during an upgrade.

Language files are in joomla_root/language/en-GB  (assuming your site is in English).
Overrides are described in 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