VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: media991 on March 14, 2012, 07:20:48 AM

Title: Change Text (inc. tax: $xxx)
Post by: media991 on March 14, 2012, 07:20:48 AM
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 :)
Title: Re: Change Text (inc. tax: $xxx)
Post by: Alan_Smith on March 14, 2012, 13:42:12 PM
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.
Title: Re: Change Text (inc. tax: $xxx)
Post by: jenkinhill on March 15, 2012, 00:20:14 AM
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