Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rody 80 posts 280 karma points
    Sep 07, 2020 @ 10:05
    Rody
    0

    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?

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Sep 07, 2020 @ 12:29
    Matt Brailsford
    101

    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

  • Rody 80 posts 280 karma points
    Sep 07, 2020 @ 12:41
    Rody
    0

    Hi Matt,

    That was exactly what I was looking for, looked passed that in the documentation.

    Thanks!

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Sep 07, 2020 @ 12:51
    Matt Brailsford
    0

    Excellent.

    Glad I could help

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft