apply Coupon before tax

  • Posts: 29
  • Thank you received: 0
12 years 11 months ago #38661

Hi,

I've realised coupons are applied after tax (VAT). So i've got a product for £99.99, VAT is say £16.66, we offer a coupon with a £50 discount, yet were still paying £16.66 VAT?????



This is not right under UK law is it? How can we apply the coupon before VAT to the sub total????

If this requires a core hack I do not mind, please let me know if it's possible.

Thanks.

Last edit: 12 years 11 months ago by sepyh.

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

  • Posts: 83103
  • Thank you received: 13417
  • MODERATOR
12 years 11 months ago #38784

Hi,

In the configuration there is an option to apply the discounts before or after tax.
www.hikashop.com/en/support/documentatio...hop-config.html#main

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

  • Posts: 29
  • Thank you received: 0
12 years 11 months ago #38815

That option does not work. I saw somewhere you said that discounts were different to coupons and that option does not work with coupons.

Please can you clarify this nicolas.

Thanks.

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

  • Posts: 83103
  • Thank you received: 13417
  • MODERATOR
12 years 11 months ago #39088

I must say that we changed lots of things related to discount and tax calculations in recent releases so I'm not sure. I'll have to test that on our end tomorrow to give you a proper answer.

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

  • Posts: 83103
  • Thank you received: 13417
  • MODERATOR
12 years 11 months ago #39411

If you want to have the coupon price to be displayed before tax on the checkout, you shoudl try to change the line:

echo $this->currencyHelper->format(@$this->coupon->discount_value*-1,@$this->coupon->discount_currency_id);

to:
echo $this->currencyHelper->format(@$this->coupon->discount_value_without_tax*-1,@$this->coupon->discount_currency_id);

in the file 'cart' of the view 'checkout' that you can edit via the menu Display->Views.

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

  • Posts: 29
  • Thank you received: 0
12 years 11 months ago #39644

Thanks. Will this minus the coupon from the unit price and calculate the VAT after this?

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

  • Posts: 83103
  • Thank you received: 13417
  • MODERATOR
12 years 11 months ago #39827

That will display the coupon price calculated before the taxes.
The total of the cart won't be affected.

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

  • Posts: 34
  • Thank you received: 0
12 years 10 months ago #43448

Hi Nicolas,

So how would I get the total of the order to be affected indeed?

Here in the US we also need the discount handled before tax, and right now even if I change the cart view as mentioned above, the total is still incorrect (too much taken out, i.e. the tax value is still included in the amount to reduce the order subtotal).

Zoltan

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

  • Posts: 83103
  • Thank you received: 13417
  • MODERATOR
12 years 10 months ago #43594

Please make sure that you're editing the correct file for your front end template and not another template.

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

Time to create page: 0.079 seconds
Powered by Kunena Forum