Update shopping_cart.js
This commit is contained in:
parent
052333ea63
commit
c3889d85a1
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user