I have uploaded a new version of the Local Tax Mod to the downloads section.
http://www.zen-cart.com/index.php?ma...roducts_id=623
This new version supports Tax Classes which in turn supports non-taxable items.
It also contains some bug fixes for previous calculation problems.
I STRONGLY RECOMMEND THAT EVERYONE UPDATES TO THE NEW VERSION.
Upgrading is easy, simply copy over the new Local Sales Tax Mod files (overwriting the old ones) and run the included database sql updates.
Also, because this new version supports tax classes, each local tax must now be associated with a zen cart tax class id. I have included an sql file to update all your local tax rates to a single tax class id. For most people this will be the default "Taxable Goods" (Tax Class ID 1) that was created with your zen cart install.
For any of you who have more than one type of tax class or have altered the tax classes you will need verify your tax class id before running the included sql file and update the id number if necessary.
To verify your "Taxable Goods" Tax Class ID in your cart admin go to:
Locations/Taxes -> Tax Classes
This will show you all the Tax Classes defined for your cart, the ID for each class is on the far left.
If you only have one tax class and its ID = 1 then you dont have to update anything, just upload the included SetAllTaxClasses.sql file.
If your tax class ID is not 1 then you will need to open SetAllTaxClasses.sql and change the 1 to whatever your tax class ID is:
Code:
UPDATE `tax_rates_local` SET `local_tax_class_id`=1;
Save your changes and upload the SetAllTaxClasses.sql file.
If you have more than one tax class you will need to decide which tax class your local taxes are to be applied to and use that Tax Class ID.
I hope this isn't too confusing, just take a deep breath and go slow. Be sure to read the included readme.txt and/or upgradenotes.txt files and follow the directions.
As, always, be sure to back up your files and database before you begin.
Good Luck!
LadyHLG