Contributions

Order Total Modules (Category Index)
Search: 

City Tax Rate Hack for MS1

This is a simple hack which allows one to charge a custom tax rate based on a member's City and State.

It makes no changes to the database or the normal tax structure in anyway. It simply checks for a customer's entry_city in their address book and then compares it to their Zone Id, or State/Province, and returns a custom tax rate and description that you input directly into a single file. This is a simple hardcode workaround, and is not an accessible feature through the Admin menu. It's simple to install though, and will solve your local/city tax problem. It could also be modified to look at the entry_poscode and entry_suburb fields of the address_book table, if one wanted to use it for zip codes or suburbs.

Enjoy!

Expand All / Collapse All

Tax Rate by zip plus 4 stored in Admin jay.holweger@nisc.coop 4 Feb 2008

In North Dakota and South Dakota there are Zip Codes that include citys that charge a sales tax. Some Addresses within a Zip Code require city sales tax and other do not. I have made changes to enable charging sales tax by Zip plus four code. This mod also allows for the tax rates to be stored and maintained in the tax rate table in Admin.


Using the information from the previous mods posted here I was able to create the logic to allow my Store to compare the customers shipto Zip code to the tax rate table and charge them the correct sales tax accordingly.

City Tax Rates for PA (for MS2) ReavtiveMicro.com 8 Nov 2007
Update for multiple city, county, state tax rates allenbrothers 28 Mar 2007
Update for City Tax Rate Hack for MS1 nrasch 27 Mar 2007
City Tax Rates for California (for MS2) Gil_e_n 4 Aug 2005
City Tax Rate Hack by Zipcode for 2.2ms2 nrasch 12 Jul 2005
City Tax Rate Hack for MS1 Akshara Weave 12 May 2003

Note: Contributions are used at own risk.