Results 1 to 10 of 659

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Posts
    42
    Plugin Contributions
    0

    Default Local Sales tax not showing discount from add-on

    The local tax module is working GREAT, but I wanted to add a discount to one of my products (6 for $5, instead of $1 each). Since I couldn't get it to work using the built-in stuff, I used the add-on discount module:
    http://www.zen-cart.com/index.php?ma...roducts_id=235

    While that works, the tax is calculated based on the original total - not the discounted total. I tried changing the priorities of the discount and tax, but no matter how I set them, it still gave the wrong amount. If anyone has any suggestions, I would greatly appreciate it!

  2. #2
    Join Date
    May 2005
    Posts
    361
    Plugin Contributions
    2

    Default Re: Local Sales Tax Mod - Support Thread

    Russ-
    Discounting and Local taxes have been a problem for a while.
    The issue is because of tax classes. Because the Local Tax Mod is set up to calculate tax based on tax classes, a subtotal is determined for all items in whatever specific tax class the local tax is applied to. Then the local tax is based on that subtotal.
    If a discount is applied to the cart total the mod has no way of knowing how much of that discount is applied to each tax class.

    I'm sure there must be a way to do this, I just haven't been able to figure it out yet.

    LadyHLG

  3. #3
    Join Date
    Jan 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    Hello LadyHLG

    Thank you for this mod, I couldnt try it yet, I need to make sure it will solve my problem

    I have a shop that will launch soon but the checkout does not count taxes

    also when a customer is not logged in, he sees the right price (including taxes) when she is logged in, she sees prices without taxes (I dont want that)

    Do you have any idea how to solve this please and if the mod will fix it? (I dont want to complicate the problem if I install another mod)

    I appreciate your kind help
    ...........Being zenned............

  4. #4
    Join Date
    May 2005
    Posts
    361
    Plugin Contributions
    2

    Default Re: Local Sales Tax Mod - Support Thread

    joudesign,
    This sounds like an issue with your default cart settings. The mod wont take care of this so you will need to find the right settings in the admin. I would suggest posting and searching in the General Questions forum for some assistance, hopefully someone there will be able to point you in the right direction as to where the setting are that are causing problems.
    Be prepared to give as detailed a description of what is happening as you can.

    Good Luck!
    LadyHLG

  5. #5
    Join Date
    Sep 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    Hello, LadyHLG.

    I absolutely love your local sales tax module and have it working with all 1700+ cities in California. But I have two questions...
    1) If a customer enters their city name without proper capitalization, it doesn't get charged tax. I saw a fix on the old forum posting but it doesn't seem to work now. Any ideas?
    2) Do you know of any way to correlate the zip code and city (or look up the city based on zip code) to make sure they are properly related?

    Thanks again for an incredibly useful mod.

    Rob

  6. #6
    Join Date
    May 2005
    Posts
    361
    Plugin Contributions
    2

    Default Re: Local Sales Tax Mod - Support Thread

    Rob,
    1. As far as my testing has shown the following should work to take care of the city capitalization issue.
    At or about line 168:
    Change: This
    Code:
    if($myfield == $value){
    to this
    Code:
    if(strtolower($myfield) == strtolower($value)){
    From what I have seen that works.
    If it is not working for you then I will need a more specific example.

    2. Unfortunately, the only way this can be done is with some kind of outside address verification, perhaps with the USPS.
    I am almost positive the USPS offers this kind of online service but a mod would have be to be written to accomplish it (if there isn't one already, I haven't checked).

    LadyHLG

  7. #7
    Join Date
    Sep 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    Quote Originally Posted by LadyHLG View Post
    Rob,
    1. As far as my testing has shown the following should work to take care of the city capitalization issue.
    At or about line 168:
    Change: This
    Code:
    if($myfield == $value){
    to this
    Code:
    if(strtolower($myfield) == strtolower($value)){
    From what I have seen that works.
    If it is not working for you then I will need a more specific example.

    2. Unfortunately, the only way this can be done is with some kind of outside address verification, perhaps with the USPS.
    I am almost positive the USPS offers this kind of online service but a mod would have be to be written to accomplish it (if there isn't one already, I haven't checked).

    LadyHLG

    Thanks very much for the quick response. I look forward to trying this and will report back.

    Rob

  8. #8
    Join Date
    Aug 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    Quote Originally Posted by LadyHLG View Post
    Rob,
    1. As far as my testing has shown the following should work to take care of the city capitalization issue.
    At or about line 168:
    Change: This
    Code:
    if($myfield == $value){
    to this
    Code:
    if(strtolower($myfield) == strtolower($value)){
    From what I have seen that works.
    If it is not working for you then I will need a more specific example.


    LadyHLG
    Which php file should be modified? All 9 of them or is it only in certain ones?

  9. #9
    Join Date
    Aug 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    Quote Originally Posted by robarb View Post
    Hello, LadyHLG.

    I absolutely love your local sales tax module and have it working with all 1700+ cities in California. But I have two questions...
    1) If a customer enters their city name without proper capitalization, it doesn't get charged tax. I saw a fix on the old forum posting but it doesn't seem to work now. Any ideas?
    2) Do you know of any way to correlate the zip code and city (or look up the city based on zip code) to make sure they are properly related?

    Thanks again for an incredibly useful mod.

    Rob
    Rob,

    May I ask what you did to get this working for all 1700+ cities? I've downloaded a csv file posted in an earlier message and am now digging around trying to find out how to upload this using mySQL or whatever it's called...I'd like to do tax rate by city but I can't imagine doing this by hand.
    Last edited by Snicklefritz; 10 Dec 2009 at 07:32 PM.

 

 

Similar Threads

  1. v151 Tax getting added twice after installing Local Sales Tax mod
    By RFree190 in forum General Questions
    Replies: 0
    Last Post: 19 Mar 2013, 05:10 AM
  2. v150 Problem with Local Sales Tax mod
    By pwithers in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 18 Jun 2012, 10:16 PM
  3. local sales tax mod not working
    By sharpie82 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 12 Dec 2011, 11:43 AM
  4. New York State Sales Tax by Zip Full Database for Local Sales Tax Mod 2011
    By SCHNiKEN in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 11 Apr 2011, 04:51 AM
  5. Local Sales Tax Mod and Reward Points Mod
    By retched in forum Addon Payment Modules
    Replies: 1
    Last Post: 9 Feb 2011, 02:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg