Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    Mar 28, 2011 @ 17:53
    Jeavon Leopold
    0

    VAT exempt products

    Hi,

    We have just come up against something, the shop we are building has a few products which are exempt of VAT. We thinking about adding a property "VAT Exempt" to all products and then overriding the CalculateVATTotal task in the Basket Pipeline so that it doesn't add VAT for the products which have this property as true.

    Is this the best approach?

    Regards,

    Jeavon

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    Mar 28, 2011 @ 18:44
    Jeavon Leopold
    0

    Or do we need to override the CalculateTax method as we want to show prices with VAT if they are not exempt?

  • Søren Spelling Lund 1797 posts 2786 karma points
    Mar 29, 2011 @ 14:35
    Søren Spelling Lund
    0

    Hi Jeavon,

    Adding a pipeline task to change VAT once applied is probably the easiest route. Basically you'd add an exempt indication to individual products and check for that in your pipeline task overriding the tax value on the order line.

    Another way to do is to create a custom ITaxService and do the same thing there. You'll achieve the same results, but the ITaxService is triggered earlier in the process and will ensure that no VAT value is ever added to the order lines in question. ITaxService is configured in /umbraco/ucommerce/Components.config. Docs for ITaxService

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    Apr 04, 2011 @ 10:38
    Jeavon Leopold
    0

    Thanks Soren,

    Custom ITaxService is working great.

    Jeavon

  • Søren Spelling Lund 1797 posts 2786 karma points
    Apr 04, 2011 @ 12:36
    Søren Spelling Lund
    0

    Glad to hear it.

Please Sign in or register to post replies

Write your reply to:

Draft