Substitute the word TAX with VAT

26.01.2012 11:48
#1
colinpw
Joomshopping forum user no avatar
Name: ColinPW
18.01.2012
Posts: 5
Quote
Substitute the word TAX with VAT

Well all is done, site is live, first sale made!

Just got one last silly little issue left to resolve

It says the word TAX throughtout the cart and checkout, how do I change this to the word VAT.

Sorry I know this is simple but I have looked everywhere.

Your help would be much appreciated

thanks


Joomla: 1.7.3
JoomShopping: 3.4
Website Url: www.napguard.co.uk
 
26.01.2012 13:34
#2
swissa
Joomshopping forum user no avatar
Name: swissandy
10.10.2011
Posts: 183
Quote
Aw: Substitute the word TAX with VAT

Located in

root/components/com_jshopping/lang/en_GB.php

VAT is listed at line 249 but you may want to make it less American by substituting any others.

Not sure how au fait you are php so only change the right hand instance of the word TAX on a line.

As always make sure you have current backup before making any changes.


Letzte Änderung: 26.01.2012 13:35
 
26.01.2012 15:22
#3
colinpw
Joomshopping forum user no avatar
Name: ColinPW
18.01.2012
Posts: 5
Quote
Aw: Substitute the word TAX with VAT

Hi swissandy

Many thanks for the response and help

I am new to editing php. So I downloaded Notepad++ bought the file down and edited line 249 but this has not worked. My web site is still showing the word TAX and not VAT so I must being doing something wrong.

I have rechecked and line 249 now reads as follows

define('_JSHOP_VAT', 'VAT');

Have I done this right?


Joomla: 3.7.1
JoomShopping: 3.4
Website Url: www.napguard.co.uk
 
26.01.2012 15:44
#4
swissa
Joomshopping forum user no avatar
Name: swissandy
10.10.2011
Posts: 183
Quote
Aw: Substitute the word TAX with VAT

colinpw - 26.01.2012 15:22
Hi swissandy

Many thanks for the response and help

I am new to editing php. So I downloaded Notepad++ bought the file down and edited line 249 but this has not worked. My web site is still showing the word TAX and not VAT so I must being doing something wrong.

I have rechecked and line 249 now reads as follows

define('_JSHOP_VAT', 'VAT');

Have I done this right?


That's okay Colin.

I'm no php programmer either and shy away from touching it wherever possible.

There are others that you might want to change. Remember only to change the one on the right...
and make a local copy of the file before you change anything so that if it does go wrong you can restore it.

Do a search for them using notepad++

On mine it's the following lines (numbers may not be absolutely correct for you but they will be close - just look for tax)
37
101
156
245
331
332
369
370
375

I think that is all. Load the file back up by ftp and it should have changed all instances of tax to VAT. Clear browser cache before checking.


Hope that works and doesn't cause you a problem!


Letzte Änderung: 26.01.2012 15:46
 
26.01.2012 17:21
#5
colinpw
Joomshopping forum user no avatar
Name: ColinPW
18.01.2012
Posts: 5
Quote
Aw: Substitute the word TAX with VAT

Hi swissandy

That worked a treat. Did what you said and all is well

Many thanks for your help

Colin

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.