deleteItem (cart)

ON THIS PAGE

Description

Delete item from a cart. Requires to provide URL to search result item as parameter.

Usage

var flbSessionCart = new Funnelback.SessionCart({collection: 'my-collection'});
flbSessionCart.deleteItem('http://item-url');

Examples

<button class="btn btn-link" onclick="flbSessionCart.deleteItem('http://item-url')">
  Remove from cart
</button>

<script>
var flbSessionCart = new Funnelback.SessionCart({collection: 'my-collection'});
</script>

© 2015- Squiz Pty Ltd