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.
Sales Tax: $0.19
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?
By masb in forum All Other Contributions/Addons
Last Post: 1 Jul 2010, 03:43 AM
By SteveDuncan in forum General Questions
Last Post: 21 Jan 2010, 06:11 PM
By expresso in forum All Other Contributions/Addons
Last Post: 11 Dec 2008, 06:58 PM
By monmouthtaxis in forum All Other Contributions/Addons
Last Post: 9 Aug 2008, 12:06 PM
Content and Graphics Copyright (c) 2003 - 2013 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC