I am creating website which will redirect to the user/login before to see the content since I am using Anonymous Redirect module.

Also, I'm using the Commerce module, so with that, I have one problem. When I want to checkout anonymously, it redirects me to the login page. How can I extend this checkout process to add product before login?

Example: When I add "example.com/product/someproduct" it's redirecting me to the login page without checkout button, cant see the products.

Thank you for your time.


Note that since you are requiring that anonymous traffic not see content, then product pages would be protected as well, making anonymous checkout impossible without some monkeying. You would likely need to bypass the anonymous redirect on product pages OR create a url that passes a product id to the anonymous user's cart (it would create one if it doesn't exist) and then redirects to the checkout. This would be possible with a rule running on bootstrap, but does have performance implications.

https://www.youtube.com/watch?v=6Rn7FLFytTU is the video where I walk you through this using rules.


Use Checkout login step module to provide option for without login.

  • the problem is, then i add "example.com/product/someproduct" it redirecting me to the login page without checkout button, cant see the products – DroDro Jan 5 '16 at 10:50
  • you mean when you go to example.com/product/someproduct it redirects you to the login, so you can't see the product page until you login? – No Sssweat Jan 5 '16 at 10:57

I have changed the module to Required Login and repair my problems, thank you.

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.