In the shop we are developing at the moment we have products of two different kind of VAT rates. 21% (default) for must products and 9% (low) for some other products.
I created 2 tax classes in Vendr back-end, but how do I link these to the product? I created a Store Entity Picker to select the Tax Class on the product, but the total VAT amount still uses the default (21%) when I add the product to the cart. This default is setup in the main Vendr settings.
From the documentation it's not really clear how to implement this. Is there a way to setup a product to use a different tax class?
There are a number of property aliases that Vendr checks for on a product node which are documented here https://vendr.net/docs/core/1-2-0/key-concepts/umbraco-properties/ and one of those is taxClass which can be configured with a Vendr Store Entity Picker property editor to pick from a stores tax classes. If you add that property to your product node, when it's added to the order, the tax class will be applied to the order line and it should calculate it's tax accordingly.
Using multiple TAX classes
In the shop we are developing at the moment we have products of two different kind of VAT rates. 21% (default) for must products and 9% (low) for some other products.
I created 2 tax classes in Vendr back-end, but how do I link these to the product? I created a Store Entity Picker to select the Tax Class on the product, but the total VAT amount still uses the default (21%) when I add the product to the cart. This default is setup in the main Vendr settings.
From the documentation it's not really clear how to implement this. Is there a way to setup a product to use a different tax class?
Hey Rody,
There are a number of property aliases that Vendr checks for on a product node which are documented here https://vendr.net/docs/core/1-2-0/key-concepts/umbraco-properties/ and one of those is
taxClass
which can be configured with a Vendr Store Entity Picker property editor to pick from a stores tax classes. If you add that property to your product node, when it's added to the order, the tax class will be applied to the order line and it should calculate it's tax accordingly.Hope this helps
Matt
Hi Matt,
That was exactly what I was looking for, looked passed that in the documentation.
Thanks!
Excellent.
Glad I could help
Matt
is working on a reply...