as title above, I want to force guest customer to register member account in my store, anyone can provide me a solution? thanks alot
You might be interested in our free Force Login module available from the Marketplace or install-able as Composer dependency. Once the module is activated, you can define a whitelist of pages/urls that should be accessible without being logged in. When a non-logged in customer tries to acces any other page, he will be redirected to the login page.
there are a few extensions for your goal. They hide some content and replace it with the message 'log in to see more'. For instance, you can hide a price or 'add to cart' button. Most of them are free, check marketplace.
I suggest you trying this Store Login Access extension for Magento 2. The extension will hide your store behind the login or registration forms. Users will have to login or register before searching for products or placing orders.
Hope it will be of help!
Feel free to have a look at Call For Price for Magento 2.
It lets you hide the price or the add to cart button for guest users. Also, you can change the button text to let them know that they will see the price or will be able to use the add to cart button if they log in. Thus, they will be motivated to register and log in.
Please let us know if you have any questions about the functionality, will be happy to help. Cheers!
For your question, I suggest you trying Magento 2 Force Login extension. By some configurations, you can force customers to log in before visiting any page.
With a cheap price, you'll get the support program includes: FREE 1-Year Support, FREE Installation, FREE Updates, and 30-Day Money Back!
Thank you! Hope it helps.