How to create an Access Control rule

1. Navigate to Access Rules

Navigate to Access Rules

  1. Open the Hide Price & Access Control app in your Shopify admin.
  2. 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).

  1. Click the + Add Rule button in the top-right corner to create a new rule.

2. General setup

General setup

  1. Rule name: Enter a descriptive name (e.g., Wholesale Only, VIP Products).

  2. Description: Optionally add notes for internal reference.

  3. Access Mode:
    • Block selected groups (Blacklist): Prevent specific groups (e.g., guests) from viewing content.
    • (Whitelist option will be available soon.)
  4. Status: Toggle ON to activate this rule after setup.

3. Define what to protect

Define what to protect

  1. 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.

  2. Pages: Search and select specific pages to protect.

  3. Custom URLs: Enter relative URLs (starting with /) or full URLs, one per line.

4. Protection settings

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 & message settings

  1. 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)
  2. Auto redirect timer: Set how many seconds before visitors are redirected. (e.g., 5 seconds)

  3. 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.

Redirect & message settings 2

6. Save & manage rules

  1. Click Save to create the rule.
  2. 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.