Sending shopping cart events using library
The following steps describe how to send cart events in website using library.
<script>
sarepush('updateCart', {}, function (response) {
console.log(response);
});
</script><script>
sarepush('updateCart', {
product_id: 99
product_price: "23$"
product_name: "Green t-shirt"
}, function (response) {
console.log(response);
});
</script><script>
sarepush('completeCart', {}, function (response) {
console.log(response);
});
</script>.Last updated