How to empty the cart at run time

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 năm cách đây
How to empty the cart at run time. I want to remove all items from the cart, and to make shoping cart as empty.

So what can i do ? Please help me.
Thanks.
11 năm cách đây
You can use,

_shoppingCartService.DeleteShoppingCartItem(sci, true);

Hope this will help you.
11 năm cách đây
Thanks, it work fine.
6 năm cách đây
krutal wrote:
You can use,

_shoppingCartService.DeleteShoppingCartItem(sci, true);

Hope this will help you.


awesome....  It did the trick of clearing shopping cart item
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.