When I'm not logged in and click on the cart logo, the following page appears with the login form:


1) I want the contents of the shopping cart to be displayed.

2) When I click on the "Checkout" button I want to display the login form.

How to do this ?

Why does the shopping cart display the login form ?

enter image description here

enter image description here


There are a a few ways. 1) Set permission to access cart to logged in users only 2) On site information page, set 403 to user/login

There should be a module for this. As soon as I find it, I will update my answer.

enter image description here

  • This feature is already installed on my site. Why the anonymous user can not view the contents of the shopping cart? – 553aa08930 Oct 13 '18 at 15:19
  • You didn't mention that. Did the user added any item to shopping cart? Be specific about your query – Bhavin Joshi Oct 13 '18 at 15:21
  • Yes it has an item in the shopping cart, even without item, it should have a message "Your shopping cart is empty". Here is one of my products s1biose.com/produit/savon-artisanal-bio-la-cannelle – 553aa08930 Oct 13 '18 at 15:25
  • You need to check permissions. Also, make sure visitors can buy from the site. – Bhavin Joshi Oct 13 '18 at 16:31
  • I added the screenshots of my configuration to my question – 553aa08930 Oct 14 '18 at 1:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.