- Posts: 29
- Thank you received: 0
apply Coupon before tax
14 years 7 months ago - 14 years 7 months ago #38661
by sepyh
apply Coupon before tax was created by sepyh
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.
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: 14 years 7 months ago by sepyh.
Please Log in or Create an account to join the conversation.
14 years 7 months ago #38784
by nicolas
Replied by nicolas on topic Re: apply Coupon before tax
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
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.
14 years 7 months ago #38815
by sepyh
Replied by sepyh on topic Re: apply Coupon before tax
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 can you clarify this nicolas.
Thanks.
Please Log in or Create an account to join the conversation.
14 years 7 months ago #39088
by nicolas
Replied by nicolas on topic Re: apply Coupon before tax
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.
14 years 7 months ago #39411
by nicolas
Replied by nicolas on topic Re: apply Coupon before tax
If you want to have the coupon price to be displayed before tax on the checkout, you shoudl try to change the line:
to:
in the file 'cart' of the view 'checkout' that you can edit via the menu Display->Views.
Code:
echo $this->currencyHelper->format(@$this->coupon->discount_value*-1,@$this->coupon->discount_currency_id);
to:
Code:
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.
14 years 7 months ago #39644
by sepyh
Replied by sepyh on topic Re: apply Coupon before tax
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.
14 years 7 months ago #39827
by nicolas
Replied by nicolas on topic Re: apply Coupon before tax
That will display the coupon price calculated before the taxes.
The total of the cart won't be affected.
The total of the cart won't be affected.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 34
- Thank you received: 0
14 years 6 months ago #43448
by coolcatcreative
Replied by coolcatcreative on topic Re: apply Coupon before tax
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
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.
14 years 6 months ago #43594
by nicolas
Replied by nicolas on topic Re: apply Coupon before tax
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.221 seconds