Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-2663

When using the Speedwell accelerator, guest users cannot add products to their cart

    Details

      Description

      Hi, 

      not sure if this is a proper bug or I am missing something but, using the speedwell accelerator, when browsing the catalog as a guest, I see the "add to cart" link under the products that is active, so I can select a number of items and try to add them to cart,
      However, a click on the link turns to nothing on the interface but an error 403 in the console.

      I see that guest user has not permission on the cart like, for example, the buyer role and I guess this is the reason for the 403 so the question is: in a B2C site, the user must login before he can add something to the cart? Aren't we supposed to have anonymous navigation, adding items to cart and then register during the checkout?
      If this is the case, i think that, at least, the  "add to cart" links should be disabled for the guest users.

       

      Thanks,
      Davide 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lorenzo.lapescara Lorenzo La Pescara
              Reporter:
              davide.polli davide polli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  2.1.2