| This demo page
addresses calculations for "home state" sales tax requirements.
Many states allow
a single sales tax rate for all residents in your "home" state.
In that case, just enter your home state and tax rate when
configuring the cart. virtualCART
will calculate the the rate and display the message:
GA resident?
add $0.60 state sales tax.
For most of our services,
that's all there is to it. They don't need a page like this.
If you are still reading, you must be one of the following two
cases:
You have
offices in more than one state.
Your home state
charges different rates in different counties/cities.
We've come up with
an elegant solution for these cases; one which gives you optimum
flexibility in tax rate calculation. We let the customer put
their sales tax rate in their cart!
There is a place
to add your "prompt message" to the virtualCART
in the cart configuration form. The cart will initially display:
your
text here resident? Please read this.
The "your text here"
will be something like "NY or NJ", and the "read this" will
link to your tax page like this one. After the customer selects
their tax rate, the message will change to display the calculated
tax rate.
The sales tax
page will reside on your site, although you can use this example
as a template.
s
e l e c t s t a t e t a x
r a t e :
Dear
Customer,
If
you reside in New York or New Jersey we must charge you
sales tax since we have offices there. Please select your
local sales tax rate, then click the "tax rates" button
to allow our shopping cart program to calculate your tax
for you. Please note that we will charge tax according to
your billing address, and enter your rate accordingly.
Notes:
You may cut out
any rates too high or low for your "home" area rates from
the select pop-up..
The item code
for the sales tax selection is:
<input type="hidden"
name="item" VALUE="b-2400^=taxrate=^State Tax Rate^op1">
The only thing
you should change in this hidden variable is to substitute
your own cart code in place of "b-2400".
virtualCART
must receive the tax rate as a decimal number.
The pop-up shows
the customer the familiar 7.25% number, but the option tag
value is .0725
<select
name=op1>
<OPTION value=".0725">7.25%</option>
We recommend using
the pop-up instead of a text box to avoid input errors by shoppers.
The tax select
must be named "op1" as shown. Do not change it.
|