Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    521
    Plugin Contributions
    3

    Default Local Sales Tax Mod and Reward Points Mod

    Hi. I'm trying to edit the reward points and Local Sales Tax modifications so that the discount is applied BEFORE the sales tax is calculated.

    Here's an example of what I want both to do:

    Say a customer has a discount of 100%, don't ask...

    I want the discount to be applied to the running total (if it exists) by the reward points mod AND then have local sales tax mod calculate sales tax due, which should be 0%.

    However, on testing these two mods, here's what I'm noting.

    Total: $2.00
    Discount: -$2.00
    Sales Tax: $0.19
    Shipping: $1.39
    Total: $1.38

    So as you can see, the discount is being applied to the order BUT not to the total sales tax due... Is there a way to fix this? I'm looking at reward points mod but don't know how to call a function of a class out.

    I already know that I will be editing sales tax mod so that if either two Reward Points modules are running to modify the variable $Taxable_Subtotal which is what the program is using as a container to store the tally of merchandise. But I want to modify this number with the discount given by one of the two reward point mods (for those not sure of the program, one will deduct a set a amount while the other a percentage, BUT both will not work at the same time).

    Any suggestions here?

  2. #2
    Join Date
    May 2009
    Posts
    14
    Plugin Contributions
    0

    application error Re: Local Sales Tax Mod and Reward Points Mod

    Quote Originally Posted by retched View Post
    Hi. I'm trying to edit the reward points and Local Sales Tax modifications so that the discount is applied BEFORE the sales tax is calculated.

    Here's an example of what I want both to do:

    Say a customer has a discount of 100%, don't ask...

    I want the discount to be applied to the running total (if it exists) by the reward points mod AND then have local sales tax mod calculate sales tax due, which should be 0%.

    However, on testing these two mods, here's what I'm noting.

    Total: $2.00
    Discount: -$2.00
    Sales Tax: $0.19
    Shipping: $1.39
    Total: $1.38

    So as you can see, the discount is being applied to the order BUT not to the total sales tax due... Is there a way to fix this? I'm looking at reward points mod but don't know how to call a function of a class out.

    I already know that I will be editing sales tax mod so that if either two Reward Points modules are running to modify the variable $Taxable_Subtotal which is what the program is using as a container to store the tally of merchandise. But I want to modify this number with the discount given by one of the two reward point mods (for those not sure of the program, one will deduct a set a amount while the other a percentage, BUT both will not work at the same time).

    Any suggestions here?
    Did you ever solve this? I've got the exact same problem. Rewards points used (currency value) should be deducted before tax is calculated. I know that Group Discount is deducted properly, but I haven't been able to duplicate how it does that. Any help would be greatly appreciated!

 

 

Similar Threads

  1. Local Sales Tax Mod - Support Thread
    By LadyHLG in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 634
    Last Post: 8 Dec 2023, 06:59 PM
  2. No tax charged in store zone using canadapost mod w/reward points
    By TreeFrogTeas in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 15 Aug 2013, 05:51 PM
  3. 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
  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. HELP, WA State, City Taxes and Local Sales Tax Mod
    By pulltabwarehouse in forum General Questions
    Replies: 1
    Last Post: 8 Oct 2010, 05:10 PM

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