I'm affraid I cant understand how HikaShop is calulating the price of a product in relation to discounts, coupons and tax.
My settings are set to apply discounts before tax.
I have 5% tax on products in the EU
I have a discount of 4.763% for products in the EU (to cancel out the VAT)
This works fine.
Ie. €45,95 (ExVAT price) * 0.95237 (we pay the VAT discount) * 1.05 (VAT) = €45,95
However problems start when I add a coupon which offers 15% off.
The coupon is set to default behaviour and is for 15%
When added to the €45,95 product example above the price comes out as €39,39 (including what it states is €1,86 for VAT)
????
The only way I can achieve this (when calculating on paper) is as follows:
Apply the 4.763% discount to the coupon (15%) i.e. 14.28555% off
Then apply this to the ExVAT price: 45.95 * 0.8571445 = 39.385 (rounds up to 39.39)
VAT is then ignored (but is retrospectively calulated from the figure above for display purposes)
Obviously this is very wrong.
If I've done something wrong - great - please let me know how to fix the issue with configurations etc.
However If I'm right (and since the discount without coupon is fine, I suspect this is more likely) - there is a serious issue and it needs to be fixed.
Creating a discount to couter act the VAT is perhaps unusual, but the same issue would occur if you needed to apply a trade discount first, and then offered your trade customers a coupon - perhaps a more common senareo.
This is a fairly time sensitive issue for me as the site that uses HikaShop was to launch their coupon to customers today, but cannot until we work this out.
If you can respond to this issue quickly, it would be appreciated.