Add to cart not permitted

we followed these instructions to add a product to the website:

and these to enable the shopping cart:

The product is shown in the website and the “add to cart” blue button also. However, when clicking we receive a message: “Not permitted”

I just saw more in detail the screenshots on the Shopping Cart Guide and realized that the customer is logged in.

We are testing to add to cart website products without being logged, is this supposed to work also?

We checked the console:

  File "/root/frappe-bench/apps/frappe/frappe/", line 49, in application
    response = frappe.handler.handle()
  File "/root/frappe-bench/apps/frappe/frappe/", line 66, in handle
  File "/root/frappe-bench/apps/frappe/frappe/", line 83, in execute_cmd
    raise frappe.PermissionError('Not Allowed, %s' % str(method))
 PermissionError: Not Allowed, <function update_cart at 0x35d5b90>

I have the same problem. At first it was just a weird ordering process with registering and adding addresses, but now I get this message if user is not logged in.
Have you resolved this issue?

@elektrinis It should throw you back to login page in this case. Can you raise an issue at