Open jimisha opened 7 years ago
if you want to save cart value in database or want to show cart on checkout page then you need to use jquery + ajax. Like
var items = paypal.minicart.cart.items(); for (var i = 0; i < items.length; i++) { var amount = items[i].get("amount") - items[i].get("discount_amount"); }
Hi, I'm using minicart in my ecommerce site but i cant store the cart values to my database.. can i store my cart values to mysql database? and also i want to display my cart on checkout page .. Please help...