Is there any built in option available in WordPress/WooCommerce which forces user to register/login before going to the checkout page?
There is an option in WooCommerce >> Settings >> Accounts >> Account Creation >> Allow customers to create an account during checkout
But this option not works if a non-logged in user visits a website, add item to the cart and go to the checkout page.
I want that user must register before viewing the checkout page or at least in the checkout page.
Thanks