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

Collections

Lock specific collections behind access rules while the rest of your store stays public.

The Collections content type locks one or more specific collections — useful for gating an entire category of products (a wholesale line, a members-only range, a seasonal drop) without having to select every product inside it individually.

Create the lock

  1. Open Locks in the app's navigation.

  2. Click Create lock.

  3. Give the lock a descriptive name, for example "B2B collection — login required."

Choose Collections as the content to lock

  1. On the Lock setup tab, in the content picker, select Collections.

The content picker with Collections selected as the content type to lock.
Select Collections in the content picker to lock one or more specific collections.
  1. Use the collection picker to search and select the collections you want to lock. You can select more than one collection for the same lock.

The collection picker showing a search field and a list of selectable collections.
Search and select the specific collections you want to lock.
  1. Click the Unlock rules tab to continue.

Add an access rule

  1. Add at least one rule — for example, Selected customers if only a hand-picked list of accounts should see this collection.

  2. Configure the rule's settings. See Access rules overview for the full catalogue of available rules.

  3. Add every required condition to the access key. All conditions must be satisfied. See Combining rules.

Choose a lock behavior

On the same Unlock rules tab, the right-hand sidebar has a Blocked visitor behavior panel — configure it alongside your rule:

  1. For a locked collection you can hide the price and Add to cart button on every product inside it, or fully hide the collection from listings, menus, and search so it doesn't appear at all to visitors who don't qualify. Review Lock behavior overview for the full set of options, including Hide from menus and Hide from search engines.

Save

  1. Click Save. The lock takes effect on your storefront as soon as the app embed is enabled.

Last updated

Was this helpful?