[fix] check doc.has_website_permission in order.html

This commit is contained in:
Anand Doshi
2015-09-28 19:04:42 +05:30
parent 33b10faf94
commit 199d8a44fc
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ $(function() {
$.extend(shopping_cart, {
update_cart: function(opts) {
if(!full_name) {
if(!full_name || full_name==="Guest") {
if(localStorage) {
localStorage.setItem("last_visited", window.location.pathname);
localStorage.setItem("pending_add_to_cart", opts.item_code);