Control access to locked content
Explore the rules that B2B Lock makes available to you!
These are all the conditions for setting up the rules that B2B Lock supports:
🟢 If everyone has access
This rule applies to everyone who has access to the content. When this rule is selected, it will take the highest priority.
🧑 If the customer is signed in
This rule requires all customers to log in with a customer account. Once they're logged in, they'll be granted access to the locked resource. (When inverted: If the customer is not signed in)
🏷️ If the customer is tagged with
This rule is for the customer with specific tags. (When inverted: If the customer is not tagged with)
🔑 If the customer gives the passcode
This rule prompts the visitor to enter a passcode, which must match the passcode you configure. If they don't enter a matching passcode, they'll be given the same prompt again.
🔗 If the customer arrives via the secret link
This rule generates a "secret" URL for the locked resource, containing a secret code. If the visitor arrives via that link, they'll be granted access. If they use any other link, they will be denied access.
✉️ If the customer has subscribe email
This rule requires all customers to subscribe to their email address to access the restricted content.
🔞 If the customer verifies age
This rule is suitable for stores that contain contents for 18+ customers. After verifying, they'll be granted access to the locked resource.
🆔 If it is a specific customer
This rule for only selected customer accounts can view locked pages while visitors and non-selected accounts can't. (When inverted: If it is not a specific customer)
🌍 If it is in a specific market
This rule applies for all customers only in selected markets while visitors in non-selected markets are restricted.
⏰ If it's after a chosen date and time
This condition checks the current time, and grants access if it's after the time that you specify.
⏰ If it's before a chosen date and time
This condition checks the current time, and grants access if it's before the time that you specify.
🧩 If custom liquid
This condition allows you to define your own logic using Liquid code. It gives you flexibility to create advanced rules based on customer data, cart contents, tags, time, or any other custom input.
📡 If customer has certain IP address
This condition checks whether the customer's IP address matches one of the specified IPs. If it does, access is granted or specific content is shown. Useful for internal testing, regional control, or restricted access.
📍 If the customer is visiting from certain locations
This condition detects the customer's geographic location (usually based on IP geolocation) and compares it against a list of allowed or targeted locations such as countries, states, or cities. Access or content display is adjusted accordingly.
Last updated
Was this helpful?