For the complete documentation index, see llms.txt. This page is also available as Markdown.

Selected customers

Hand-pick specific individual customers who can access a lock, without relying on tags or emails.

The Selected customers rule lets you choose exactly which customer accounts should pass — a hand-picked list rather than anything based on tags, email, or B2B status. It's the right tool when access comes down to a short, specific list of named people rather than a pattern you can describe with a rule.

How it works

You search for and select individual customers directly from your store's customer list inside the rule. Only the customers you've explicitly added to the list are checked — there's no tag or email pattern involved, so keeping the list current is entirely manual.

Adding the rule

  1. Open the lock you want to protect and click the Unlock rules tab.

  2. Add an access rule and choose Selected customers from the Condition type dropdown.

    Access rule picker with Selected customers selected and a customer search field
    Searching for and selecting specific customers to add to the rule.
  3. Use Search customers to find customers by name or email, or click Browse to pick them from a list of your store's customers. Each one you add appears as a row you can remove later.

  4. Choose whether the rule should match If (the customer is on the list) or Unless (they are not).

  5. Optionally set a per-rule Redirect URL.

  6. Save the lock.

When to use this rule

Selected customers is a good fit for VIP or one-off access — for example, giving a handful of press contacts early access to a product page, or granting a single long-standing customer a permanent discount page, without tagging their account or generating a passcode just for them. For anything that grows past a short, manually maintained list, Customer tags or B2B customer will scale better.

Example: Give two customers early access

Suppose a pre-release page should only be available to Alex and Jamie, two customer accounts selected from your Shopify customer list.

  1. Select the Pre-release preview page as the content to protect.

The Lock setup tab with Specific Page as the content type and the Pre-release preview page listed under Restricted pages.
Pick the page the two customers should get early access to.
  1. On the Unlock rules tab, set Condition type to Selected customers and leave Rule logic on If.

  2. Click Browse, tick Alex Morgan and Jamie Chen in the Add customers dialog, then click Add. Both accounts appear as rows under the search field.

You can also type a name or email into Search customers instead of browsing. Either way, only the accounts listed here pass the rule — remove one with the on its row.

The condition set to Selected customers with Rule logic If and Alex Morgan and Jamie Chen listed as the two selected accounts.
The two hand-picked accounts are the whole rule — there's no tag or pattern behind it.
  1. Leave the rule's Redirect URL empty.

  2. Set the messages to:

    • Guest message content: Sign in to check whether your account has early access.

    • Access denied message: Your account is not included in this early-access group.

Both fields appear because Selected customers is one of the five customer-identity rules — see Access rules overview. The guest message goes to signed-out visitors; the access-denied message goes to signed-in customers who aren't on the list.

The Messages card showing both the Guest message content and Access denied message fields filled in with the example wording.
This rule needs both messages, because either kind of visitor can be blocked.
  1. Click Save.

Result on the storefront

Alex and Jamie can open the page after signing in with the selected accounts. A signed-out visitor sees the Guest message. A different signed-in customer sees the Access denied message because their account is not on the selected list.

The Pre-release preview page displaying the configured account-not-included message.
A signed-in customer outside the selected list sees the Access denied message from this example.

Last updated

Was this helpful?