B2B & Wholesale Solution: Enabling Force Login
The Force login feature in the B2B & Wholesale Solution app ensures that only registered and logged-in members can access designated store pages, features, and content. This helps protect sensitive B2B information, deliver a more tailored shopping experience, and streamline B2B customer management by verifying business representatives before granting access.
This guide explains how to enable Force login and configure storefront visibility based on customers’ login status.
| Note: This feature does not modify the underlying page code. As a result, search engine crawlers can still index the original page content even when Force login is enabled. |
Enabling Force Login for Restricted Page Access
To require customers to sign in before viewing specific pages on your storefront, enable Force login by following these steps:
-
From your SHOPLINE admin panel, go to Apps > B2B & Wholesale Solution. Install the app if you haven’t already.
-
In the B2B & Wholesale Solution app, go to Settings > Customer visits.
-
In the Access restrictions section, locate Force login, turn on the toggle, and select the pages that customers must log in to access.
Once enabled, non-member customers who visit the selected pages will not be able to view the original content. Instead, the page is covered by a login prompt that asks them to sign in or create an account.
Configuring Pricing Visibility Based on Login Status
In addition to enabling Force login to restrict access to designated pages, you can further control how product pricing and purchase-related buttons are displayed before and after login by using the Visibility settings by login status setting:
-
In the B2B & Wholesale Solution app, go to Setting > Customer visits.
- In the Access restrictions section, toggle the Visibility settings by login status to configure pricing display rules:
- Before login > Hide price details: Check this box to hide the product prices before login.
-
After login > Show price details & buy button; hide check price button: Check this box to ensure that once a member logs in, they can see full pricing and the Add to Cart or Buy Now buttons.
Notes:
- You can click Preview to see how the setting will appear to your customers.
- Enabling this option will deactivate the customer inquiry form settings on the product detail page.
How Product-Level and Login-Based Settings Work Together
In addition to configuring pricing visibility based on login status, you can also control whether price details and the Add to cart button are displayed for individual products within the app's Products section.
|
Note: To configure the display settings for individual products, go to Products, select the product you want to adjust, and locate the Use inquiry module. |
For the combined display effects on your storefront before and after login, please refer to the tables below:
Store Front Display Before Login
Customer visits > Visibility settings by login status |
Products > Use inquiry |
Store front display before login |
|||
Before login > Hide price details |
Hide add to cart button |
Hide price details |
Price details |
Add to cart button |
Check price button |
V |
V |
X |
Hide |
Hide |
Show |
V |
V |
X |
Hide |
Hide |
Show |
X |
V |
X |
Show |
Hide |
Show |
X |
V |
X |
Show |
Hide |
Show |
X |
V |
V |
Hide |
Hide |
Show |
X |
V |
V |
Hide |
Hide |
Show |
Store Front Display After Login
Customer visits > Visibility settings by login status |
Products > Use inquiry |
Store front display after login |
|||
After login > Show price details & buy button; hide check price button |
Hide add to cart button |
Hide price details |
Price details |
Add to cart button |
Check price button |
X |
V |
X |
Show |
Show |
Show |
V |
V |
X |
Show |
Show |
Hide |
X |
V |
X |
Show |
Hide |
Show |
V |
V |
X |
Show |
Show |
Hide |
X |
V |
V |
Hide |
Hide |
Show |
V |
V |
V |
Show |
Show |
Hide |