jadess Posted November 11, 2011 Share Posted November 11, 2011 Hello, Say there is an order with an item that is $24 + $2.1 in tax for a total of $26.10. In the back office, in orders, I refund the item and select "Generate a voucher". A voucher for $26.10 is created for the customer. However, when the customer goes to use the voucher, only $24 is subtracted from their total. It should be $26.10 that is subtracted. I'm wondering how I can change this? Any help is greatly appreciated.. Thanks.. Link to comment Share on other sites More sharing options...
jadess Posted November 11, 2011 Author Share Posted November 11, 2011 okay seem to be a little closer. Found in Discount.php, function getValue, there is this line: $this->value = abs($this->value / (1 + $taxDiscount * 0.01)); Seems to be where the code is subtracting the tax amount from the voucher..... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now