Zen Cart Logo
Forums / Currencies & Sales Taxes, VAT, GST, etc. / Display prices with TAX and without tax

Display prices with TAX and without tax

Views: 3,564

Results 1 to 4 of 4
27 Jan 2011, 7:00 AM
#1
liizz avatar

liizz

New Zenner

Join Date:
Jan 2011
Posts:
58
Plugin Contributions:
0

Display prices with TAX and without tax

Hi.

I have been able to make the Price including & Excluding VAT based on a thread 'Display price with VAT/TAX and Ex VAT/TAX' ..

http://www.zen-cart.com/forum/showthread.php?t=76880

I am using the USD as my default currency bt wen I change the currency(for e.g EUR), it gives the price for both with VAT included & excluded..

Is it possible to display only the price of a product,i.e only the price with no VAT applied for currencies which are not set as default??

Kindly help..

Thanks

Liizz

27 Jan 2011, 12:02 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Display prices with TAX and without tax

I suppose you could write in an over-arching condition that tells the incl-vat/excl-vat module ONLY to be active if a certain currency is chosen.

"If currency !=USD, then do not use this module". (!= is PHP for not equal to)

or...

"If currency =USD, then use this module, else carry on as normal".

Naturally, what I say in plain English above needs to be written into php code, and inserted into the appropriate place in the appropriate file, but it should be possible to put in such a condition.

27 Jan 2011, 3:18 PM
#3
liizz avatar

liizz

New Zenner

Join Date:
Jan 2011
Posts:
58
Plugin Contributions:
0

Re: Display prices with TAX and without tax

Hi.

I added the code, it gives errors, got a blank screen..

Am not so sure where to place the code..

Plz help

Thanks

Liizz

3 Aug 2011, 2:29 AM
#4
emrico1 avatar

emrico1

New Zenner

Join Date:
Mar 2009
Posts:
55
Plugin Contributions:
0

Re: Display prices with TAX and without tax

liizz:

Hi.

I added the code, it gives errors, got a blank screen..

Am not so sure where to place the code..

Plz help

Thanks

Liizz

"what I say in plain English above needs to be written into php code"

You need to read more carefully.