This is a configuration example for restricting access for logged-in customers with the "blacklist" tag and for guests (not logged in). Even when logged in, customers without the denied customer tag can view the product page.
Prerequisite: Select a pricing plan and enable the app embed in the theme that uses access limits. For instructions, see "Initial Setup (Access Limits)".
You can check the behavior with a demo product: [Demo] Blacklisted Members Cannot Access
Use this when you want to hide the product page from customers who have been given a specific customer tag, for example due to abusive behavior, as well as from customers who are not logged in.
Prerequisite: The following results assume there is no other active access rule targeting the same product.
Logged-in customers without the blacklist tag: the product page is shown.
Logged-in customers with the blacklist tag: the product page is restricted.
Guests (not logged in): the product page is restricted.
Prerequisite: In the Shopify admin, add the same "blacklist" tag that you enter in the access rule to the customers whose access you want to restrict.
(1) Create an access rule
Open the app admin → "Access rules" → "Create rule".
(2) Enter the settings
Configure the following.
Field | Value |
|---|---|
Title | Any internal title |
Priority | 0 |
Eligible items | Products, collections, or product tags to restrict |
Visible to | Logged in customer |
Allowed customer tags | Blank |
Denied customer tags | blacklist |
Restriction method | Show custom screen, or Redirect to URL |
(3) Save and enable the access rule
Save the settings, then select "Enable rules" in the access rules list or "Enable" on the edit screen.
(4) Check the behavior
Open the same target product while logged in with the blacklist tag, logged in without the tag, and logged out, and confirm that it matches the result after setup.
Note: With this setting, guests (not logged in) are restricted in addition to customers with the blacklist tag.
Note: Access rules do not block purchases or provide complete content protection. If you also want to restrict purchases, use a customer rule together with this.
Access rule