Copied to clipboard

Flag this post as spam?

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


  • Bruno Câmara 3 posts 23 karma points
    Dec 16, 2012 @ 12:39
    Bruno Câmara
    0

    Unit Price not being updated on Cart after changes on backoffice

     

    It seems that when adding an item to the cart, the unit price is being kept on the cart itself. If we change the price meanwhile before the customer proceed to checkout, when the customer checks out, the price being displayed and used is the price that is on the cart (whic in fact it's out of date), instead of the current price.

    Is this the supposed behavior? 

    Even if we have two distinct prices for each country/currency for the same item, and if we add an item to the cart for Country A (which has the currency A defined as default), and then suddenly the customer changes his navigation Country to Country B (which has the currency B defined as default), I think the unit price must be refreshed in the cart with the price configured to CountryB/CurrencyB. Am I missing something?

    Thanks in advance

    BFC 

     

  • Rune Grønkjær 1372 posts 3103 karma points
    Dec 17, 2012 @ 08:27
    Rune Grønkjær
    0

    Hi Bruno,

    Welcome to the Umbraco and Tea Commerce forum. Actually this is a great question that has not been addressed before. The answer is quite simple.

    Whenever a product is added to the cart in Tea Commerce the prices of that product is copied to an order line. As you have noticed, changing the price on the product afterwards does NOT change the price on any order lines with that product. The logic behind this is, that the price the customer sees on the website when he adds the product to the cart should allways be the price he pays for the product! You can ofcause use the Tea Commerce .NET API to override this default behavior by changing the price on the order line, if this is what your specific e-commerce webiste needs.

    As for countries and currencies
    On every currency theres a "Price field" which is the alias of the node property for the price on the product. When a product is copied to the cart not only the price in the currency currently chosen is added to the order line. Prices for ALL currencies are copied to the order line. When you change the country the currency might also change. When that happens the order line will simply start displaying prices of the new currency instead of the old.

    /Rune

Please Sign in or register to post replies

Write your reply to:

Draft