I've been staring at the screen for a half hour trying to think of something witty to say about taxes-- everything from the crude and simple "they suck" to marginally PC militia jokes. I give up. You know what they are. Take a few moments to shake your fist towards your local government, then read on.
What is taxable with Hazel? The total of all merchandise you haven't marked as tax exempt in your products file. Shipping charges are usually untaxable. If you must charge taxes for shipping, add the TAXABLE rule under its properties header.
If you haven't read the rules files, absorb them now. This document begins with a closer examination of sales tax rules, and ends with a primer on per-item taxes.
The total calculated discount can be accessed in your templates via the HZML token
%HZT_TAX
.
Sales tax rules are defined in the sales_tax.rules file under the rules directory in your catalog root.
[Header] | Type | Description | number below is the numeric part of the rule's action. | |
---|---|---|---|---|
+ (default) | ||||
REGION | STR | The selected TAX_REGION .
| add number to total | |
STATE COUNTRY | STR | The state or country of the billing address. | add number to total | |
POSTAL_CODE | ZIP | The postal code of the billing address. | add number to total | |
|
You can set a specific tax rate for a product by editing its Per-Item Tax
TAX
field in the products file. You can also
specify different taxes for individual items depending on the
TAX_REGION
selected by the shopper. Instead of adding a
TAX
field, add a TAX_FOO
field, where FOO
is one of the tax region values selectable during checkout.
|
The most common use of per-item taxes is to exempt an item. You'll likely not have to worry about the per-item per-region stuff.