Copied to clipboard

Flag this post as spam?

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

  • Dan 1258 posts 3787 karma points admin c-trib
    May 01, 2013 @ 13:03

    Tea Commerce 2.0 > 2.1 upgrade procedure


    What's the recommended upgrade procedure to go from 2.0 > 2.1?


  • Anders Burla Johansen 2560 posts 8256 karma points
    May 01, 2013 @ 13:56
    Anders Burla Johansen

    Just install as normal - Tea Commerce takes care of the upgrade process. Have in mind the breaking changes:

    The most common breaking change to have it about the order properties. You can see how it should be in 2.1 of Tea Commerce here in the HTML API documentation:

    Kind regards

  • Dan 1258 posts 3787 karma points admin c-trib
    May 01, 2013 @ 14:15

    Thanks Anders.

    I noticed a bug (I think!) with the VAT calculations in my two current TC2 projects.  It seems to be the same in the starter kit demo site:  If you add a single item to the cart and then view the cart, the VAT isn't added to the total.  So you get:

    Unit price: $55
    Subtotal: $55
    VAT: $5
    Total: $55 

    Could you confirm whether this is a bug or not and/or whether it's been addressed in 2.1?


  • Rune Grønkjær 1304 posts 2897 karma points
    May 01, 2013 @ 14:50
    Rune Grønkjær

    Hi Dan,

    Actually that looks right. Unit price and Subtotal is including VAT and so is Total. The $5 is just the VAT.

    If you want to show the prices without VAT you can just use price without VAT. In Tea Commerce 2.0 all prices are objects which contains all kinds of information about the specific price. Check it out with codecompletion in Visual Studio.


  • Dan 1258 posts 3787 karma points admin c-trib
    May 01, 2013 @ 14:53

    Okay thanks Rune.  I must be using net price for my product listings but the cart is using gross price for the products, so it looks odd to the customer.  I thought I'd based everything very much on the starter kit but will double check...

    Edit: actually, thinking about it, isn't it weird to have a sub-total and total that will always be the same?  Why have both if the sub-total is the total?  I'm sure that most carts I've seen have sub-total (net of VAT) > VAT > total (gross).  Not a big problem, just seems a bit weird.

  • John Perryn 71 posts 182 karma points
    May 04, 2013 @ 08:49
    John Perryn

    Bear. As In 'bearing' a load. Not as in GRRRRRRR.

    Bare In Mind = Kate Winslet.(empty head - the cupboard is bare)


  • Matt 91 posts 237 karma points
    May 08, 2013 @ 14:13

    Dan I also noticed this - if you are using the starter kit ecommerce.js you can just change (I think!):




Please Sign in or register to post replies

Write your reply to: