Our Magento 1.8 store had the option "Require Customer To Be Logged In To Checkout" in the admin, so anyone could go to the checkout and login or checkout, and guests would have an account created after checkout.

Any reason why this doesn't happen in Magento 2.2?

1 Answer 1


It is still available. Here is Magento's user guide about this - https://docs.magento.com/m2/ce/user_guide/sales/checkout-guest.html. You should be able to go to Stores -> Settings -> Configuration -> Sales -> Checkout -> Checkout Options and find the setting there.

This is the opposite situation as yours, but still provides instructions on how to find the setting - https://community.magento.com/t5/Can-Magento-do/Could-not-proceed-to-checkout-as-guest-magento-2-2-4/td-p/94008.

As mentioned in one of the answers above be sure to run the necessary commands for updating and clearing things.

php bin/magento setup:upgrade
php bin/magento  setup:static-content:deploy -f
php bin/magento  indexer:reindex
php bin/magento  cache:flush
  • That is not the same option as "Require Customer To Be Logged In To Checkout". That's just the "Allow guest checkout" option.
    – localhost
    Commented Apr 26, 2019 at 16:50
  • Maybe I'm missing something, but if you set "Allow guest checkout" to NO, then it would require the user to be logged in to checkout wouldn't it?
    – rain2o
    Commented Apr 26, 2019 at 16:54
  • It seems like it was removed here - github.com/magento/magento2/commit/… with a message indicating this was useless. Not sure if they intend for the Allow guest checkout option to be used to cover both needs.
    – rain2o
    Commented Apr 26, 2019 at 16:59
  • Hmm, it was probably working because of the Iwd checkout extension then.
    – localhost
    Commented Apr 26, 2019 at 17:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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