Set up access rules
What does this do for me?
An access rule gates checkout or storefront content using the entitlements and tags your approvals grant. Rules apply to storefront, product, collection, customer-account, and checkout surfaces.1. Open Access rules
Open Access rules in the Customer Gate navigation.2. Create an access rule
In the Create access rule card:- Enter a Name.
- Choose a Surface:
checkout,storefront,product,collection, orcustomer_account. - Optionally enter a Resource GID. Product rules require a Product GID and collection rules require a Collection GID. Leave it blank to gate the whole surface.
- Enter the Required entitlements the customer must have.
- Enter the Required tags the customer must have.
- Enter a Denied message that tells customers how to apply or contact the store.
- Select Create access rule.
How each surface is enforced
- Checkout is enforced by the checkout validation function.
- Storefront, product, and collection use the Customer Gate theme block.
- Customer account uses the customer-account extension.