I have noted this thread
http://devnet.kentico.com/Forums.aspx?forumid=68&threadid=34456 which talks about using CartItems instead of the ContentTable for the ShoppingCart object...
Is it safe to do so in the context of having custom providers (in my case, for ShoppingCart, Shipping and Discount)?
And then secondly, what is the difference between the two (CartItems and ContentTable) since, for example:
If i bind a repeater to the ShoppingCart.ContentTable, I get a different value for the "Units" field on a single cart item than what is set in code or in the database. It seems to be cached somwhere?
*Background: i have a cart page where I update the quantity on a postback and in the database or if I query on CartItems, I get, for example, the expected value of 2. I am setting the item:
ShoppingCartItemInfoProvider.SetShoppingCartItemInfo(cartItem);
where cartItem.CartItemUnits = 2. The databasse reflects this update correctly, but the ContenTable still sees Units as 1? Do I need to refresh the ContentTable?