nasty problems with taxes and coupons

  • Posts: 76
  • Thank you received: 3
8 years 9 months ago #230414

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.3
-- Browser(s) name and version -- : all

There is a problem with tax calculation when applying coupons. In fact they are many problems.

1. First, I noticed that the coupon value was the same, even if it was checked "before taxes" or "after taxes". Also, the taxes were calculated wrong, being the same after the coupon was applied. Also, during checkout, the taxes were displayed wrong, not only wrong calculated, even if in the invoices they were only wrong calculated, but displayed right.

Then I noticed that you have a new version, 2.6.1 (it was 2.6.0), so I updated, maybe...

2. But that "maybe" ... it wasn't. Because I noticed that during the checkout, the behaviour is the same: taxes are displayed wrong when the coupon is applied.

Now, I know the coupon may be applied to any tax category. I let them to None, because I needed to be applied to all of them. I can't use 3 or 4 coupons, one for each tax category, so ... I don't know how the calculations are done in this case, but believe me, you need to see this.

For now, the coupon system is not published, because the invoices are a mess. I kept some from tests for you to see, but it may be necesary for you to make an order, and to check/uncheck the coupon, to understand. Eventually I can provide you with some creen captures, but when taxes became negative during the checkout, something is bad, and this happens. In the final invoice, they are correct (being positive), but not affected by the coupon applied to the invoice, even if this is done before taxes.

You have attached the files screen captures, 1 without coupon, 2 with coupon, and 3 being the product list. Please note that that coupon is a 10% coupon.

That specific order was not finalised, because the order it is already flawed. For now, the coupon system is unpublished , but it may be published for you to test. Waiting for your oppinion.

Paul





Attachments:
Last edit: 8 years 9 months ago by NADEJDE.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 9 months ago #230533

Hi,

The issue is that you set the "product tax category" to "none" in the coupon. This means that the coupon value shouldn't have any tax rule applied to it and thus no tax is calculated regardless of how you set the "apply discount" setting.
If you want taxes to apply to the coupon value, a tax category has to be selected in the "product tax category" setting of the coupon.
Coupons can apply to different products in the cart (not necessarily all) and thus it's not possible to know automatically what tax category should be used for how much of the coupon value. That's why there is this setting so that you can tell the system what tax category should be used for the coupon.
The system has always worked like that.

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

  • Posts: 76
  • Thank you received: 3
8 years 9 months ago #230538

Well, this is understandable, but yet:

If one have 3 tax categories for an order, that means that the coupon system is not working, when you have to use a coupon wich should be applied across multiple tax categories. In fact I disabled it, as it was obvious.

Normally, a coupon wich would be meant to work in a multiple tax system, should not be tied by a tax category, but it should work that way:

At least when you have a percent coupon, one can calculate the same percent from each item value and it's corresponding tax. I really don't understand why you say it is not possible, because it is simple enough for a 10% coupon to substract the needed value, from each value, and each tax, for items for wich is intended.

How I said, I can't understand how else this would be, and why is not implemented this way. Because otherwise, one need to use 3 coupons for a order (if having 3 tax categories), wich, as I know, HS does not allow.

For me, this is a bug. Sorry. I pay taxes for what I sell, so they should be calculated correctly, regardless what my clients are buying, and regardless how many tax categories I have where I sell.

Otherwise, please let me know an alternative way to use the coupon system in a situation like this.

Thank you.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 9 months ago #230542

Hi,

I understand your point of view and I agree that ideally, it would be great to support multiple tax categories for coupons. But that's not the case, at least not for now.
The thing is that it's really not easy to do and is only useful for a really small percentage or our user base since 99% of the merchants only have one tax category, and for the last percent, most of them have coupons that only apply to products from one tax category at a time.
As an alternative, you can have a look at AWOCoupons. Maybe their coupon system, which is more advanced than the default one of HikaShop, supports multiple tax categories.

The following user(s) said Thank You: NADEJDE

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

  • Posts: 76
  • Thank you received: 3
8 years 9 months ago #230586

I think you are a little wromg here and it is not so complicated: in fact, the needed thing in this case is an entity wich should work like a discount, I mean being the same for all tax categories, and to be inputed at the checkout, like a coupon (and to have the coupon conditions like product no, etc).

In fact this is what I needed, I discount system, and I tried to use it, but when I saw that it is applied from start, I mean not checked on the checkout, I gave up.

I will check the recommended extension, maybe it will do the job. If not, well... thank you anyway.

L.E. One more thing to think about: the discount system would need an another feature too: the possibility for a discount to be assigned to a customer or another, if not aplied on the checkout. The second way would solve first one too, but...

Last edit: 8 years 9 months ago by NADEJDE.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 9 months ago #230628

Having discounts applied to a customer is high on our todo list.

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

Time to create page: 0.086 seconds
Powered by Kunena Forum