If your shopping cart allows visitors to update their cart dynamically (eg: using AJAX functions/events), you can use the cartstack_updatecart function. 

Function Call
Code Example 

In this example, we are assuming your system is calling the updateCartRealTime() function when a specific event has taken place.

<script data-siteid="XXXXXX" src="" type="text/javascript"><br></script>
<script type="text/javascript">
function updateCartRealTime() {
 var _cartstack_update = [];
 _cartstack_update.push(['setCartTotal', '']);
 _cartstack_update.push(['removeCartItems', 1]);
Did this answer your question? Thanks for the feedback. Click the "Contact Us" button to the right if you need further help. There was a problem submitting your feedback. Please try again later.