The extension Force Login for Magento 2 works by restricting non-registered users to visit Products, Category and CMS Pages of your Store. In this way, you can stop not Logged In users to visit your store pages.
Set Force Logins for Users to Access Pages
Display Default Login in Custom Login Form
Enable Force Login on Specific Products, Categories & CMS Pages
Force Login on Checkout or Cart Page
Personalize Login Popup Template
Set Login Popup Appear Time in Seconds
Sign up now to add your profile to the site. Whether you're a freelancer or work for an agency or a merchant, you can find other developers to hire or get clients for yourself or for your company.