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 101 to 120 of 287
This thread is locked. New replies are disabled.
15 Dec 2007, 5:06 PM
#101
ladyhlg avatar

ladyhlg

Zen Follower

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

Post #101 by ladyhlg

Well guys, I guess I rushed too quickly to post the new version because there seems to be a bug in the totals calculation when multiple quantities are purchased.
I am working to correct it now and well post the fix ASAP. :oops:

I am terribly sorry about this and hope you will bear with me while I figure out where my mistake is.

LadyHLG

17 Dec 2007, 4:33 AM
#102
bushkillfarms avatar

bushkillfarms

New Zenner

Join Date:
Dec 2007
Posts:
9
Plugin Contributions:
0

Post #102 by bushkillfarms

Thanks to LadyHLG's support and debug of my installation, I learned a valuable lesson that others may benefit too as well. Turns out I had duplicate records with the same local_datamatch so the local tax was being applied twice. You can prevent this by setting local_datamatch type to UNIQUE in the database. Of course, this will only work if you only use one type of local_fieldmatch.

This is an excellent module and LadyHLG provided me with great support. Thanks again.:clap:

17 Dec 2007, 4:36 AM
#103
bushkillfarms avatar

bushkillfarms

New Zenner

Join Date:
Dec 2007
Posts:
9
Plugin Contributions:
0

Post #103 by bushkillfarms

Here is my tax_rate_local table for NY state if anyone is interested. If you find any errors, please let me know.

18 Dec 2007, 8:58 PM
#104
noother84 avatar

noother84

New Zenner

Join Date:
Dec 2007
Posts:
1
Plugin Contributions:
0

Post #104 by noother84

thanks LadyHLG and bushkillfarms! this is exactly what I needed for NY sales tax. can't thank you enough.

18 Dec 2007, 10:11 PM
#105
ladyhlg avatar

ladyhlg

Zen Follower

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

Post #105 by ladyhlg

Ok folks, I have re-uploaded Version 2.0 (now 2.0a).
The admins were kind enough to remove version 2.0 from the downloads for me because of the major calculation error. (THANK-YOU!)

So for anyone who downloaded and installed version 2.0, please download the new files and copy them over to your cart. You will need to remove the mod via the admin and then reinstall it (NOT THE SQL FILES JUST THE MOD ITSELF, DON'T WORRY THIS WILL NOT REMOVE YOUR TAX RATES!).

For specific info on version 2.0 and for upgrading please read this previous post

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

Whats New:
Quantity calculation error has been fixed (Obviously!)

Admin Debugging option: After you reinstall the module you should notice it now has a debugging option. This is really here to help you find duplicate tax rates which bushkillfarms mentioned in his previous post here.
If turned on, the debugging will list out each local tax it finds and shows you how much tax it applied to the total. It will also give you the record id for each tax which will be helpful in finding and deleting or changing a duplicate tax record.

Thats about it for this version.
As always, be sure to back up your files and database before you begin.

Happy Holidays!
LadyHLG

18 Dec 2007, 11:28 PM
#106
robmck avatar

robmck

New Zenner

Join Date:
Dec 2007
Posts:
9
Plugin Contributions:
0

Post #106 by robmck

Having a problem with local sales tax 1.2 & zen cart 1.3.7.1:

When I go to Admin / Modules / Order Total, local sales tax isn't listed and the following error appears at the top of the module list: "Fatal error: Cannot redeclare class ot_local_sales_taxes in /.../includes/modules/order_total/ot_local_sales_taxes.php on line 46"

Any ideas?

Unfortunately, I did not install this thing, so I don't know what all happened during the install process.

19 Dec 2007, 1:51 AM
#107
ladyhlg avatar

ladyhlg

Zen Follower

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

Post #107 by ladyhlg

My only suggestion would be to clear all the files and reupload them to the cart to see if that fixes the problem.
Did this suddenly start to happen or were you trying to upgrade?

LadyHLG

20 Dec 2007, 12:54 AM
#108
robmck avatar

robmck

New Zenner

Join Date:
Dec 2007
Posts:
9
Plugin Contributions:
0

Post #108 by robmck

We reinstalled & it's fine now. Thanks.

20 Dec 2007, 5:56 AM
#109
robmck avatar

robmck

New Zenner

Join Date:
Dec 2007
Posts:
9
Plugin Contributions:
0

Post #109 by robmck

Got the 1.2 sales tax mod running, but have hit another issue: it appears that the local tax mod ignores discounts and charges tax based on pre-discount totals. See other thread. Doesn't seem to matter what sort order I use for the local tax mod.

Ideas?

20 Dec 2007, 3:53 PM
#110
ladyhlg avatar

ladyhlg

Zen Follower

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

Post #110 by ladyhlg

Well I can see why none of the previous mods dealt with this. This may just be beyond my coding skills. :huh:

But here is what I can tell you.

  1. For anything to even come close to working you need to upgrade to the newest version of the mod.
  2. Product discounts seem to work ok - at the least the couple that I tried.
  3. Coupons - I can sometimes get the calculations to work correctly when I set the following sort orders:
    Local Sales Tax= 299
    Tax = 300
    Coupon = 301

But this all depends on the different options for the coupon mod (ie - apply to shipping, apply to tax, recalculate tax). But even when I remove the local sales tax mod the totals don't always make sense so there is some trial and error here. (I believe this was discussed in the thread you referred to.)

I will continue to look at this but I honestly don't know if I have the skills to completely tackle this.

LadyHLG

28 Dec 2007, 5:09 AM
#111
designde avatar

designde

New Zenner

Join Date:
Aug 2007
Posts:
5
Plugin Contributions:
0

Post #111 by designde

Thanks Bushkill farms. You saved me alot of work tonight!

Abound Marketing, Inc.
http://www.aboundmarketing.com
"Internet Marketing Success Outside the Box."

30 Dec 2007, 12:52 PM
#112
bushkillfarms avatar

bushkillfarms

New Zenner

Join Date:
Dec 2007
Posts:
9
Plugin Contributions:
0

Post #112 by bushkillfarms

designde:

Thanks Bushkill farms. You saved me alot of work tonight!

No problem, I hope it works out for you. Let me know if you find any errors in my table. The real Thanks goes to LadyHLG for coding this great module:D

11 Jan 2008, 7:47 PM
#113
photophile72 avatar

photophile72

New Zenner

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

Post #113 by photophile72

We got this module installed and all of our tax data entered but I cant seem to get the tax being charged to display in the checkout totals. Is there a setting I am missing somewhere. BTW - Love this module and thanks you LadyHLG for all the hardwork and excellent support!!

11 Jan 2008, 8:23 PM
#114
ladyhlg avatar

ladyhlg

Zen Follower

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

Post #114 by ladyhlg

The first thing to check is that you have actually activated the mod.

In Cart Admin navigate to Modules -> Order Total, and click on "Local Sales Taxes", then click the "install" button.

Check that first if that is not the problem then we can move on from there.

LadyHLG

11 Jan 2008, 9:23 PM
#115
photophile72 avatar

photophile72

New Zenner

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

Post #115 by photophile72

Yes it has been installed/activated and under the Locations / Taxes Menu ----> Local Sales Taxes all 870 tax rates for Kansas are listed...

shop.hdnews.net

11 Jan 2008, 9:43 PM
#116
ladyhlg avatar

ladyhlg

Zen Follower

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

Post #116 by ladyhlg

What version of zen cart are you running?

12 Jan 2008, 5:08 PM
#117
photophile72 avatar

photophile72

New Zenner

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

Post #117 by photophile72

We are running our first install of Zencart 1.3.7 i am planing to upgrade to 1.3.8 this weekend. Yours is the first Mod we have installed and it is Release 2.0a

Server OS: Darwin 7.9.0 Database: MySQL 4.1.22-standard PHP Version: 5.1.2 (Zend: 2.1.0)

Thanks again for your quick replies and support, I am fairly new to running my own server and open source software and have already seen that most of the time you cant get anyone to answer questions so I really appreciate your help.

13 Jan 2008, 1:15 AM
#118
ladyhlg avatar

ladyhlg

Zen Follower

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

Post #118 by ladyhlg

I dont see anything off hand in your set up that should cause problems, I haven't tested the mod with version 1.38 yet so I dont know how that will effect things.
Would you feel comfortable giving me access to your admin to check your setting?
You can PM me with any info.
Let me know.
LadyHLG

15 Jan 2008, 6:00 AM
#119
photophile72 avatar

photophile72

New Zenner

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

Post #119 by photophile72

Changing the apply to field from delivery_postcode to just postcode worked like a charm! Thanks so much. One last question, how do we turn off the other Sales Tax. When in checkout it show shipping, then Sales Tax - $0.00 then the Local Sales Tax....

15 Jan 2008, 2:08 PM
#120
ladyhlg avatar

ladyhlg

Zen Follower

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

Post #120 by ladyhlg

I believe that should be under Modules -> Order Total

LadyHLG