KonaKart Community Forum

Installation / Configuration => Configuration of KonaKart => Topic started by: rlluis on March 17, 2014, 03:45:28 pm

Title: Discount and Tax
Post by: rlluis on March 17, 2014, 03:45:28 pm
Hi, all,

I've configured a shopping cart to use a sales tax, and a percentage-based "Product Discount" promotion (same behaviour with "Order Total Discount". When I apply the promotion via a code, the right percentage is deducted. Then, however, a sales tax is calculated on the pre-promotion total. So a customer is charged tax on the portion of product that's been discounted.

That may be how it's designed, but at least in Spain, sales tax is to be collected only on the remaining portion of the total after all promotions/deductions. Is it possible to configure KonaKart for this via the admin GUI? If not, can you point me at what to change to make the smallest number of changes to the code?

I have also tried to change the order of the order total modules, but this is only a presentation thing I think.
Title: Re: Discount and Tax
Post by: rlluis on March 17, 2014, 04:07:21 pm
I was wrong. If you change the sort order, it does changes the way calculations are done and then the tax is calculated once the discount is applied.

It is working well now.