[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Working with 2 taxes?
Quoting Ron (post@cyklone.com):
> In my area we have 2 taxes.
>
> The first tax is applied to the cost and the second on the on top of the
> result.
>
> For example:
>
> Cost is: 100.00
> TAXE1 = 7% x 100 = 107
> TAXE2 = 7.5% x 107 = Total cost = 115.025
>
> I have to display the two taxes on the invoice.
> Can someone give me a clue on how to do this with MV.
This one comes up often enough that we need an FAQ. You need
to use the mv_handling feature.
In shipping.asc:
gst GST [subtotal noformat=1] 0 99999999 x .07
pst PST [subtotal noformat=1] [value state] 0 0 0
pst PST for Alberta AB 0 99999999 x .075
pst PST for Ontario ON 0 99999999 x .08
etc.
pst No PST 0 99999999 0
GST is always applied, but PST can be geographically qualified
on province. The first line just sets up the geographic qualification.
Now just set:
[value name=mv_handling set="gst pst" hide=1]
somewhere at the top of the checkout page.
Finally:
GST: [shipping gst]
PST: [shipping pst]
All of this requires a reconfig of the catalog, of course. And the
state qualification may not work for you, as I happen to know that
Canada can do some funny things with PST exemptions based on postal
code. There you should have a custom usertag to calculate your PST
percentage.
--
Mike Heins http://www.minivend.com/ ___
Internet Robotics |_ _|____
131 Willow Lane, Floor 2 | || _ \
It's a little-known fact Oxford, OH 45056 | || |_) |
that the Y1K problem caused <mikeh@minivend.com> |___| _ <
the Dark Ages. -- unknown 513.523.7621 FAX 7501 |_| \_\