If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Your Zen Cart Products / Currencies & Sales Taxes, VAT, GST, etc. / Local Sales Tax Mod (with admin!) for testing

Local Sales Tax Mod (with admin!) for testing

Locked

Started by ladyhlg on 30 Mar 2007, 7:51 PM · Views: 63,404

Results 221 to 240 of 287
This thread is locked. New replies are disabled.
8 Jul 2008, 2:05 AM
#221
ladyhlg avatar

ladyhlg

Zen Follower

Join Date:
May 2005
Posts:
361
Plugin Contributions:
1

Post #221 by ladyhlg

Unfortunately, there are no mods as yet set up to deal with counties. It seems to be a continuing dilemma for many zenners.

Take a look at the following post

http://www.zen-cart.com/forum/showpost.php?p=510701&postcount=157

It explains how to set up counties within a state as zones.

If you do that and then combine it with the local tax mod then you can apply tax by zip code to specific counties.

Does that make sense to you?

LadyHLG

8 Jul 2008, 1:16 PM
#222
itsdenyse avatar

itsdenyse

New Zenner

Join Date:
Jul 2008
Posts:
7
Plugin Contributions:
0

Post #222 by itsdenyse

Wow. You are amazingly helpful! Thanks so much.

28 Jul 2008, 1:21 AM
#223
nettasaura avatar

nettasaura

New Zenner

Join Date:
Jul 2008
Posts:
7
Plugin Contributions:
0

Post #223 by nettasaura

I just downloaded the mod from the downloads section and all that is in there is the .php file......isn't there supposed to be a .sql file too?

28 Jul 2008, 1:10 PM
#224
ladyhlg avatar

ladyhlg

Zen Follower

Join Date:
May 2005
Posts:
361
Plugin Contributions:
1

Post #224 by ladyhlg

If installing for the first time please download and install version 2.0a first.

LadyHLG

30 Jul 2008, 5:21 PM
#225
nettasaura avatar

nettasaura

New Zenner

Join Date:
Jul 2008
Posts:
7
Plugin Contributions:
0

Post #225 by nettasaura

Don't suppose anyone could tell me where the link to version 2.0a might be hiding at eh? Either my eyes have been playing tricks on me or I can't find it.

I can't get my store up and running until I get this mod and get it installed either...Washington State just went from origin based tax to destination based tax in July :(.

Thanks,
Netta

30 Jul 2008, 5:32 PM
#226
ladyhlg avatar

ladyhlg

Zen Follower

Join Date:
May 2005
Posts:
361
Plugin Contributions:
1

Post #226 by ladyhlg

Its on the downloads page for the mod just below version 2.1.
Just scroll down the page a bit and look for:

Local Sales Tax Mod Version 2.0a
Added support for Tax Classes. Each tax rate must now be
associated with a specific tax class allowing for correct
tax calculations with non-taxable items.

**Updated code and fixed calculation bug.
Also added debugging option to module install to help find duplicate sales tax rates.
Author: LadyHLG
Version: 2.0a
Zen Cart™ Version: v1.3.7
Update added on Dec 18 2007
Download Now! <---- This is the link!!
File size: 21240 bytes

LadyHLG

30 Jul 2008, 5:38 PM
#227
nettasaura avatar

nettasaura

New Zenner

Join Date:
Jul 2008
Posts:
7
Plugin Contributions:
0

Post #227 by nettasaura

:oops: DUH! Ok...now that I feel really dumb lmbo, THANK YOU!!!!

Hugs,
Netta

30 Jul 2008, 5:42 PM
#228
ladyhlg avatar

ladyhlg

Zen Follower

Join Date:
May 2005
Posts:
361
Plugin Contributions:
1

Post #228 by ladyhlg

Its not a problem, glad to help, hope you get your site up and running.

Have a good day!
LadyHLG

6 Aug 2008, 6:02 PM
#229
squanto avatar

squanto

New Zenner

Join Date:
Feb 2008
Posts:
9
Plugin Contributions:
0

Post #229 by squanto

LadyHLG:
I've sung your praises in here for this mod many times... The slickest solution to a problem that keeps getting bigger everyday! One quick question for a problem I've recently encountered. For the state of California I am using "City" as the filter for application of the local sales tax. The problem I'm running in to is when a customer fails to capitalize the city name, the tax is not applied. Is there a way to change the mod to be less fussy with case sensitivity? so say "Oak view" will work as well as "Oak View" or do I need to go through and create redundant duplicate records for any and all UC/LC possibilities?
-Squanto

6 Aug 2008, 8:59 PM
#230
ladyhlg avatar

ladyhlg

Zen Follower

Join Date:
May 2005
Posts:
361
Plugin Contributions:
1

Post #230 by ladyhlg

Squanto,
Give this a try replace the following file with the attached:

catalog\includes\modules\order_total\ot_local_sales_taxes.php

Let me know if that works for you.

LadyHLG

7 Aug 2008, 1:39 PM
#231
squanto avatar

squanto

New Zenner

Join Date:
Feb 2008
Posts:
9
Plugin Contributions:
0

Post #231 by squanto

LadyHLG:
All I can say is... Wow! Thanks a million, this seems to work quite well!
-squanto

9 Aug 2008, 6:24 PM
#232
psychicpet avatar

psychicpet

Inactive

Join Date:
Sep 2007
Posts:
44
Plugin Contributions:
0

Post #232 by psychicpet

I have successfully installed this mod on a site running 1.3.7 and it works like a charm!

I am building a new site using 1.3.8 (unmodded so far) now and for some reason I can't install the SQL patch. I get a simple "Failed" message with no further detail.

Any ideas?

9 Aug 2008, 7:08 PM
#233
psychicpet avatar

psychicpet

Inactive

Join Date:
Sep 2007
Posts:
44
Plugin Contributions:
0

Post #233 by psychicpet

I am building a new site using 1.3.8 (unmodded so far) now and for some reason I can't install the SQL patch. I get a simple "Failed" message with no further detail.

I solved my own problem by building the table by hand using phpMyAdmin which added my database name and a little bit at the end see below:

 CREATE TABLE `xxxxxx_zc1`.`zen_tax_rates_local` (
`local_tax_id` INT( 11 ) NOT NULL AUTO_INCREMENT COMMENT 'tax id',
`zone_id` INT( 11 ) NULL COMMENT 'zen cart zone to apply tax',
`local_fieldmatch` VARCHAR( 100 ) NULL COMMENT 'Name of field from delivery table to match',
`local_datamatch` VARCHAR( 100 ) NULL COMMENT 'Data to match delivery field',
`local_tax_rate` DECIMAL( 7, 4 ) NOT NULL DEFAULT '0.0000' COMMENT 'Local tax rate',
`local_tax_label` VARCHAR( 100 ) NULL COMMENT 'Label for checkout',
`local_tax_shipping` VARCHAR( 5 ) NOT NULL DEFAULT 'false' COMMENT 'Apply this tax to shipping',
`local_tax_class_id` INT( 1 ) NULL COMMENT 'Apply to products in what tax class',
PRIMARY KEY ( `local_tax_id` )
) ENGINE = MYISAM 

I also noticed that the SQL file tries to create a table called "tax_rates_local" but the mod was looking for "zen_tax_rates_local"

10 Aug 2008, 2:54 AM
#234
ladyhlg avatar

ladyhlg

Zen Follower

Join Date:
May 2005
Posts:
361
Plugin Contributions:
1

Post #234 by ladyhlg

The sql file will have the table name without any table prefix, when using the zencart admin to install the mod it will add the prefix, if however the table is created outside of the cart then you will have to add whatever (if any) prefix you have decided on for your particular setup.

Glad you were able to get things working.

LadyHLG

10 Aug 2008, 7:50 PM
#235
billharris avatar

billharris

New Zenner

Join Date:
Aug 2008
Location:
California
Posts:
8
Plugin Contributions:
0

Post #235 by billharris

LadyHLG:

Thank you for developing this mod. It is great!

I had to modify it a little, because my store gives quanity discounts and member discounts, and the mod does not support these.

Since my store is in California, I set up a normal Zen Zone definiton and state tax rate for CA. Then I installed your mod version1.1 and made 2 modifications:

  1. I added code to find the CA state Tax amount, and divided that by the CA state tax rate to get the order taxable amount. This can be off by a few cents due to rounding, but the error is negligible. I multiplied the taxable amount by the locatl tax rate to get the local tax amount.

  2. I changed the calculation of the order total to simply add the local tax amount to the existing order total.

Works like a charm. Thanks again!

16 Aug 2008, 1:17 PM
#236
krw_knitwear avatar

krw_knitwear

New Zenner

Join Date:
Apr 2007
Posts:
37
Plugin Contributions:
0

Post #236 by krw_knitwear

Is anyone here using this module for the New WA State Destination Taxes?

If so, could you explain to me how to set up?

19 Aug 2008, 11:35 PM
#237
sublime19 avatar

sublime19

New Zenner

Join Date:
Aug 2008
Posts:
32
Plugin Contributions:
0

Post #237 by sublime19

LadyHLG, is there a limit on the number of zipcodes you can enter in the field? I am looking at the table in mysql and it seems to be limiting it.

I have researched every zip code in california, put them in an excell document and was working on setting up your mod and some counties have alot of zipcodes like (la county).

also can you do combinations in the range like 1-10;17;20-25; ?

19 Aug 2008, 11:47 PM
#238
ladyhlg avatar

ladyhlg

Zen Follower

Join Date:
May 2005
Posts:
361
Plugin Contributions:
1

Post #238 by ladyhlg

The mod was not originally designed for a long string in the datamatch field, I believe its at 100 characters. You can of course change that on your database if you wish. Personally I think its a bit dangerous to have too many zips in one data record, I know its convenient but I would hate to have to sort though all those zip code to find one if something changes in one of the zip codes but not in the others.

No the mod does not handle range combinations, you need to set up the ranges as separate entries.

Hope this helps.

LadyHLG

19 Aug 2008, 11:56 PM
#239
sublime19 avatar

sublime19

New Zenner

Join Date:
Aug 2008
Posts:
32
Plugin Contributions:
0

Post #239 by sublime19

The mod was not originally designed for a long string in the datamatch field, I believe its at 100 characters. You can of course change that on your database if you wish. Personally I think its a bit dangerous to have too many zips in one data record, I know its convenient but I would hate to have to sort though all those zip code to find one if something changes in one of the zip codes but not in the others.

how would i make this mod? It would be easier and make more sense in my head than using ranges because zip codes don't go in exact order.

20 Aug 2008, 2:01 PM
#240
ladyhlg avatar

ladyhlg

Zen Follower

Join Date:
May 2005
Posts:
361
Plugin Contributions:
1

Post #240 by ladyhlg

I'm sorry, but I'm not sure what you are asking.
Do you want to know how to use combination zip code ranges?