Add to cart not permitted

Hi,
we followed these instructions to add a product to the website:
https://erpnext.com/user-guide/website/add-products-to-website

and these to enable the shopping cart:
https://erpnext.com/user-guide/website/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/app.py", line 49, in application
    response = frappe.handler.handle()
  File "/root/frappe-bench/apps/frappe/frappe/handler.py", line 66, in handle
    execute_cmd(cmd)
  File "/root/frappe-bench/apps/frappe/frappe/handler.py", 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 https://github.com/frappe/erpnext/issues