Developer forum

Forum » Development » Cached price in cart

Cached price in cart

Thomas Larsen
Reply

How can I force a recalculation of the cached prise in the cart?

I have tried  Dynamicweb.eCommerce.Common.Context.Cart.ClearCachedPrices() without any luck


Replies

 
Morten Bengtson
Reply

Make sure the IsCart property on the order (cart) has been set to true.

See this thread: http://developer.dynamicweb.com/forum/development/adding-product-to-the-cart-programmatically.aspx

 

You must be logged in to post in the forum