[ic] SalexTax error with discount products
Salvador Caballe
interchange-users@icdevgroup.org
Thu Nov 28 16:41:00 2002
Hello
I need some help to use [discount] tag in a multi SalestTax (European VAT)
configuration.
If I try to use [discount] tag but the tax calculation is always from
regular price instead discount price.
Is very easy to reproduce the problem in a default foundation catalog.
you only need to do 3 changes.
1-
catalog.cfg
#SalesTax __TAXFIELD__
SalesTax multi
2-
edit tax field in a test country (Spain)
Table country.txt
Spain -> tax field : default = 16%, books = 4%
3-
checkout.html
add this line (25% discount in all items)
at top
[discount ALL_ITEMS] $s * .75 [/discount]
restart interchange
To check the error:
put any item in cart,checkout and select country Spain.
The sales tax (16%) is wrong.
is calculated using regular price instead discount price.
best regards
Salvador