Is there a way to calculate the tax in an order per product?

In Europe, all countries except Denmark, have two or more tax rates, see https://en.m.wikipedia.org/wiki/European_Union_value_added_tax. To use ubercart in Europe when you sell products in various tax categories, you need to calculate the tax per product. Is there a way to achieve this in Ubercart 3.0?

I have a taxonamy item to differentiate between to rates I need to apply. The only thing I achieve up to now, is to apply a tax rate to all products if a certain product is selected.

Simular request from 2013: http://drupal.stackexchange.com/questions/95759/how-to-achieve-european-...

Comments

drsnuggles created an issue. See original summary.

drsnuggles’s picture

Issue summary: View changes
drsnuggles’s picture

In the end I solved it using product classes and converted existing products with node convert. Each class has a certain tax amd this way taxes are calculated correctly.

It took a few hours to setup the classes to be exact copies of already existing products. Although I did it carefully, the image field went wrong and I had to fix it manually per product.

Would be nice if there would be an easier way to enable taxes per product. If a country changes its taxes for just a certain product, you are now doomed to to it the hard way again.

drsnuggles’s picture

Status: Active » Needs work
TR’s picture

Status: Needs work » Closed (works as designed)
Issue tags: -VAT Tax per product

Note that this has nothing to do with European taxes or VAT - pretty much ALL countries have a variety of tax rates for different classes of goods, and that's one of the reasons why Ubercart has product classes. Product classes are the intended method for addressing this issue in all countries. If a tax rate changes, that change can then be made in one place only and all products in that class will use the new rate. If a certain product is reclassified by your government for tax purposes (which I expect to happen VERY rarely, if at all ...) then yes you will have to change the product class of that one product.

In D8 there is an option to override the tax rate on a per-product basis. I don't see this as a particularly good solution for most cases though, since overriding a tax rate and making an exception implies that the product is classified incorrectly to begin with.