Copied to clipboard

Flag this post as spam?

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


  • Rody van Sambeek 71 posts 217 karma points
    Sep 07, 2020 @ 10:05
    Rody van Sambeek
    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 2958 posts 15629 karma points MVP 7x c-trib
    Sep 07, 2020 @ 12:29
    Matt Brailsford
    100

    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 van Sambeek 71 posts 217 karma points
    Sep 07, 2020 @ 12:41
    Rody van Sambeek
    0

    Hi Matt,

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

    Thanks!

  • Matt Brailsford 2958 posts 15629 karma points MVP 7x c-trib
    Sep 07, 2020 @ 12:51
    Matt Brailsford
    0

    Excellent.

    Glad I could help

    Matt

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies