How to Disable Guest Checkout in Magento 2

October 8, 2020
By Cozmot

disable guest checkout in Magento 2.

Benefits of restricting guest checkout in Magento 2:

  • Collect maximum customer data in the registration form that can be used for effective marketing strategy
  • Easy repeat purchase for the customers
  • Get updates on ongoing offers and sales in the store
  • Avail the benefits of the upgraded customer group
  • Get relevant product recommendations
Collecting maximum customer data can be even easier in Magento 2 if you restrict guest checkout as the default Magento 2 allows configuring customer accounts. So, the admin can easily mandate the fields required and let customers sign up! However, if you think that disabling guest checkout can slow down the purchase process, Meetanshi’s Magento 2 Guest to Customer extension can be a win-win situation for your business. It allows the admin to auto-convert guests to registered customers after the checkout step is finished. For now, you can simply disable guest checkout in Magento 2 store as shown here:

Steps to Disable Guest Checkout in Magento 2:

Steps to Disable Guest Checkout in Magento 2
  1. Login to Magento 2 admin panel
  2. Navigate to Stores > Settings > Configuration
  3. Under Sales, select Checkout
  4. Expand Checkout Options area
  5. Set No in Allow Guest Checkout to disable the checkout for guests.
  6. Click Save Config
That’s it. If you want to go one step ahead and restrict visitors to access store pages until registration, you can check Magento 2 Force Login where the admin can control the access to store and display an alert message for compulsory login. If you have doubts, feel free to ask a question in the Comments section below. Let me help you to solve your problem. Do consider sharing this post with Magento Community via Social Media. Thank you.]]>

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!