Proper fixed coupon action. Why is it that the default option of a fixed coupon is to be applied AFTER a tax?
Not only is this non-sensical, but it's not even legal. If a customer is receiving a flat discount on their order, say $15.00, it's against the law to charge them tax on their original amount!
I've been wrestling with this issue for a while now. I disagree with distributing the fixed discount amongst items in the cart...while that may work cleanly for 1 item, it creates rounding errors, and is very unfriendly to customers - their unit price's are arbitrarily lower, not matching a subtotal and get's very confusing.
I've been trying to create a custom tax rule that would fire after a fixed discount, because as fixed discounts aren't product pricing rules (I don't want it to affect individual line items) I can't simply adjust the weight on the rule to apply the proper calculation orders.
This is a very large bit of functionality that is missing from Drupal Commerce. If anyone has a workaround, I'd love to hear it, I'm spending quite a bit of time swimming through sandbox modules and have yet to find a suitable solution.
Comments
Have you found a solution for this issue? I've been struggling with this a fair amount of late as well. At first I set out to rewrite my own coupon module, but it's really an issue with the Tax calculation --- I believe. It should be calculated on the sub-total of the order and not on each line item in the order (as is what appears to be happening right now).
I have not, and I've been getting kicked in the teeth by my clients because of it. I've been doing research into different commerce solutions, because as much as I'd love to contribute to and use Drupal Commerce, I simply don't have the time to spend constructing commerce sites from scratch and fixing missing functionality (trust me I'd love to, but I work for a shop and the number of projects on my plate is not my choice).
I'm sad to say I've actually been using Ubercart 7 for my most recent commerce sites. It behaves more like a "normal" commerce experience and has all of the common use cases out of the box (coupons, taxes, stock, etc etc) I end up having to do much less customization and building fewer custom modules. I see the power and benefit of Drupal Commerce and the direction it's taken, but in my current position it's not really that viable for me. I'd be hard pressed to have a client NOT want fixed coupons, and just that simple piece of the puzzle missing is driving me away from the system.