Add support for easily showing the tax for the default zone on the product page #3324
Replies: 1 comment 1 reply
-
|
I haven't looked in detail on how Commerce handles its pricing, however I think that the tax calculation is on an entire cart. This makes it very tricky doing things which WooCommerce has no problem (!!!). I need to only and always show a VAT included price on a per product, but also need to know the total ex VAT and the total VAT for a summary prior to checkout. This will be the usual checkout process for non b2b transactions within the UK and Europe so I am surprised nobody else has raised issues with it. I have found numerous Stack Overflow posts which are simply multiplying the product price by the VAT rate, this is not good nor maintainable should the rate change in the backend. I am having to do this on each time the price is required (line items in basket etc) and I hate it: It's a mix and match from SO, other various posts I've found from Discord and other places on the internet coupled with some of my tweaks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Move the tax calculation out of the default tax engine adjuster and into a service.
Beta Was this translation helpful? Give feedback.
All reactions