How to create an Access Control rule
1. Navigate to Access Rules
- Open the Hide Price & Access Control app in your Shopify admin.
- Go to Access Rules.
Here, you’ll see a list of existing rules with their status (Active/Inactive), applied items, and actions (edit, copy, delete).
- Click the + Add Rule button in the top-right corner to create a new rule.
2. General setup
-
Rule name: Enter a descriptive name (e.g., Wholesale Only, VIP Products).
-
Description: Optionally add notes for internal reference.
- Access Mode:
- Block selected groups (Blacklist): Prevent specific groups (e.g., guests) from viewing content.
- (Whitelist option will be available soon.)
- Status: Toggle ON to activate this rule after setup.
3. Define what to protect
-
All Products: Check this box to apply restrictions to all products in your store. You can also uncheck the box and choose specific products/collections to be protected.
-
Pages: Search and select specific pages to protect.
-
Custom URLs: Enter relative URLs (starting with
/
) or full URLs, one per line.
4. Protection settings
In the Protection From section, choose who will be restricted:
- Block guest visitors (not logged in) – Recommended for B2B/wholesale.
- Block specific segments – Restrict based on customer tags or segments.
- Block specific email addresses – Restrict individual emails.
5. Redirect & message settings
- Redirect destination: Choose where blocked visitors are sent:
- Login page
- 404 Not Found
- Registration page
- Homepage
- Custom URL (enter a full link or relative path)
-
Auto redirect timer: Set how many seconds before visitors are redirected. (e.g., 5 seconds)
- Message customization:
- Title: Enter a headline (e.g., Access Restricted).
- Description: Explain why content is blocked (e.g., You need to log in to view this page).
- Button text & style: Customize the call-to-action (e.g., Login Now).
👉 A live Quick Preview is shown on the right side, so you can see exactly how the restriction message will look to blocked visitors.
6. Save & manage rules
- Click Save to create the rule.
- Go back to Manage Access Rules to view all rules.
- Here you can Edit, Duplicate, or Delete any rule.
- The Status toggle allows quick activation/deactivation.