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.

  • Nicolai Heilbuth 14 posts 34 karma points
    Oct 11, 2010 @ 18:03
    Nicolai Heilbuth
    0

    Wrong VAT calculation

    Hi

    I might be missing something, but I have a problem with my VAT calculation.

    I have created a pricegroup with 25% VAT and the calculation for each order line is just fine. When I add one or more of a single item my basket totalt calculate just fine, but once I add more items to the basket the VAT calculation is messed up.

    The basket subtotal is correct, but the VAT is not.

    If I add one product with the price of 479,20 the VAT is calculated to 119,80, which is correct, but if I add a different product also with the price of 479,20, the subtotal is 958,40, but the VAT is still just 119,80, making the basket total 1078,20. It should have been 1198,00.

    Looking in the database table when adding products with different prices, it seems the basket VAT is set to just the VAT of the last added product.

    Please help.

    Nicolai

  • Søren Spelling Lund 1797 posts 2786 karma points
    Oct 11, 2010 @ 18:33
    Søren Spelling Lund
    0

    Hi Nicolai,

    You're running a release a couple of versions old, 1.0.5.0 I believe. This version had the issue you describe. The VAT issue was fixed in version 1.0.5.1 (we're up to 1.0.5.3 as of writing this). If you update to the latest version you'll see the expected behavior.

    Grab the latest version from www.ucommerce.dk/en/get-it-now.aspx

    Updating is as easy as installing the new package on top of the existing one. uCommerce will figure out what to update for you.

    As a side note extensive unit tests of the basket calculations were added to avoid issues like this in the future.

     

  • Nicolai Heilbuth 14 posts 34 karma points
    Oct 12, 2010 @ 07:36
    Nicolai Heilbuth
    0

    Hi Søren

     

    Thanks for the quick reply.

    That fixed the issue. :)

     

    Regard

    Nicolai

Please Sign in or register to post replies

Write your reply to:

Draft