Page 63 of 64 FirstFirst ... 135361626364 LastLast
Results 621 to 630 of 635
  1. #621
    Join Date
    Jun 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    I love this mod and have used it for the last 2 years. I know that this has never been addressed due to how it calculates Tax. It's not doing it per item it just has a function that totals the order and kicks it out.

    I need to be able to put the taxed item each into invoicing for billing purposes and I'm manually doing it now through an export and it's tedious. I did what they said to do by just removing the columns, but that just hides the problem.

    Has anyone solved this problem?

    Thanks!

  2. #622
    Join Date
    Apr 2019
    Posts
    242
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    Quote Originally Posted by LadyHLG View Post
    Tesla,
    I haven't had time to test this, but you can give it a try.
    Open the following file:
    includes\modules\order_total\ot_local_sales_taxes.php

    at about line 170 look for the following:
    $debug2 .= $myfield."<br>";

    right above that line place the following code:
    PHP Code:
    if($taxmatch == "postcode"){
    $myfield substr($myfield05); 

    See if it does the trick.

    LadyHLG
    I have the exact same issue now. If the customer uses 9-digit zipcode, his order will be "tax free". Plug-in version 2.5.3a. "$debug2" or "$myfield" are not existed any more. Here is how I changed my code, which is similar to the guide above.

    At around line 86. Change the following code in includes\modules\order_total\ot_local_sales_taxes.php

    Code:
    $apply_local_tax = check_for_datamach($taxrec['order_data'], $taxrec['matching_data']);
    To the following

    Code:
    $apply_local_tax = check_for_datamach(substr($taxrec['order_data'], 0, 5), $taxrec['matching_data']);
    I tried it on my end (zc 1.57c, php7.4) and it seems to work good.

    Keywords for search: 9-digit, 9 digits, nine digits
    Last edited by njcyx; 30 Jun 2021 at 08:25 PM.

  3. #623
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,625
    Plugin Contributions
    123

    Default Re: Local Sales Tax Mod - Support Thread

    Updated to fix various issues with newer PHP/Zen Cart.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #624
    Join Date
    Apr 2019
    Posts
    242
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    Quote Originally Posted by swguy View Post
    Updated to fix various issues with newer PHP/Zen Cart.
    Hi Swguy, thanks for updating this plug-in. May I know if any tips to update this plug-in from 2.5.3b to 2.6?

  5. #625
    Join Date
    Apr 2019
    Posts
    242
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    Hi Swguy, I tested this plug-in on my test site, and I noticed that the previous two issues are not fixed.

    One is the 9-digit zipcode issue. Once the customer entered 9-digit zipcode instead of 5 digit, his order will be "tax free". The fix is similar to my previous post.

    Another is the tax rate for the store pickup. By test, if the customer selected store pickup option, the tax rate was charged by the zipcode in his shipping address, not the zipcode of my store. For pickup order, the tax should be charged by the zipcode of the store location, not by the shipping address.

  6. #626
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,625
    Plugin Contributions
    123

    Default Re: Local Sales Tax Mod - Support Thread

    Yep I just fixed PHP issues.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #627
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,625
    Plugin Contributions
    123

    Default Re: Local Sales Tax Mod - Support Thread

    includes/modules/order_total/ot_local_sales_taxes.php line 43 (checking payment type = "quest") was an accidental inclusion that should be removed.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  8. #628
    Join Date
    Apr 2019
    Posts
    242
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    Hi Swguy. Can you please explain the "accidental inclusion" in details? Here is the line 43:

    PHP Code:
    if (!empty($_SESSION['payment']) && $_SESSION['payment']  === 'quest') return []; 
    Do you mean change it to the following?

    PHP Code:
    if (!empty($_SESSION['payment']) && $_SESSION['payment']  === 'quest') return; 

  9. #629
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,625
    Plugin Contributions
    123

    Default Re: Local Sales Tax Mod - Support Thread

    Just delete that whole line - unless you are a vendor in Alaska who takes Quest as a payment method, and does not need to charge sales tax for Quest-paid orders. :)
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #630
    Join Date
    Apr 2019
    Posts
    242
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    That is easy. Thanks!

 

 
Page 63 of 64 FirstFirst ... 135361626364 LastLast

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR