Discout Application

  • Posts: 251
  • Thank you received: 2
13 years 1 month ago #26447

Hi Nicolas,

In the Main Config I set "Discout Application" "After the taxes"
In Discount I set a Bonus of 10€ applied on the orders over 50€, but the sistem still apply the discount on the price without taxes

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
13 years 1 month ago #26468

Hi,

I just tried on our end but it's working fine:
I have a product costing 10€
I have a tax of 10%
I have a coupon of 10€

On the checkout I get that:
Total 10,00 €
Coupon -10,00 €
Taxes 1,00 €
Final total 1,00 €

So the tax is applied on the product. The price is then 10+1=11€. Then, the coupon is applied 11-10 = 1.

Please Log in or Create an account to join the conversation.

  • Posts: 251
  • Thank you received: 2
13 years 1 month ago #26471

I don't know why. Before the update all works fine...
I show you an example:



You can see that the product cost with taxes is 15 € without taxes is 12.40.
No coupon is applied because it is calculated on 12.40 and not of 15 €

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
13 years 1 month ago #26473

That's indeed the case. The coupons minimum value is always calculated on the total price without taxes.

You can change that by editing the file adminsitrator/components/com_hikashop/classes/discount.php and change the line :
if($coupon->discount_minimum_order>$total->prices[0]->price_value){
by:
if($coupon->discount_minimum_order>$total->prices[0]->price_value_with_tax){

Please Log in or Create an account to join the conversation.

  • Posts: 251
  • Thank you received: 2
13 years 1 month ago #26474

OK! Thank you very much!

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum