B2B Lock | How can I lock pages with a login form or display a custom message?
Set up your rule by using a condition requiring sign-in form
Step 1: Lock content
Choose Entire website to restrict access
Step 2: Control access
Set rule If the customer is signed in
Scroll down to customize your message with Login form or Sign-up form
Step 3: Advanced settings
Depending on your rule, choose one of these optional settings. If not, press Save to install the rule to your theme.
Wait a second, B2B Lock is being installed to your theme!!
After you save the rule, B2B Lock will usually take about 5-10 seconds to automatically update your theme. A toast will appear when the process is done.
Step 4: Storefront display
When customers come to restricted pages, the login form will be displayed.

Updated on: 24/01/2025
Thank you!