Update shopping_cart.js

This commit is contained in:
Nabin Hait 2018-03-09 16:28:25 +05:30 committed by GitHub
parent 052333ea63
commit c3889d85a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ $.extend(shopping_cart, {
},
set_cart_count: function() {
var cart_count = getCookie("cart_count");
var cart_count = frappe.get_cookie("cart_count");
if(frappe.session.user==="Guest") {
cart_count = 0;
}