Skip to content

Rule Builder Deep Dive

This section explains every part of the Rule Builder in detail.
Use it as a reference when you’re not sure what a field means or how a setting will behave.

The Rule Builder always follows the same 3-step flow:

Step 1 – Lock Target → Step 2 – Access & Message → Step 3 – Exclude Pages

The right column holds two sticky cards, Summary and Preview, that stay in view while you work through the steps.

Lock editor, Step 1 Lock Target: the stepper, General Information (Lock name, Status), What do you want to lock? and the Summary card

A saved rule: all three steps show a ✓ and the Summary card lists every choice.

  • The stepper at the top shows Lock Target, Access & Message and Exclude Pages.
  • The current step is a green pill. A completed step is a green pill with a ✓.
  • Click the name of a completed step (✓) to go back to it. Everything you entered is kept. You can’t jump ahead to a step you haven’t completed yet: finish the current step and click Next.
  • Use Next and Back at the bottom of each step. Step 3 has Save.

The Summary card shows the rule’s status badge (Enabled / Disabled) and one line per step, with a check icon once the step is done:

  • Lock Target: e.g. “Applies to all products / Price hidden - Add to cart visible but disabled”, “2 products” or “1 specific collections”.
  • Access & Message: e.g. “Rule 1: Signed-in customer / Rule 2: Passcode”.
  • Exclude Pages: e.g. “Excluded: Homepage, 0 Specific pages”.

A step you haven’t configured yet shows “Not setup yet”.

In Step 2 and Step 3, once a rule has at least one condition set, the Preview card appears under Summary. Pick a message from its dropdown (e.g. Message Hide Price, Passcode, Access Denied Message) to see a live storefront mock that updates in real time. Click Customize message to edit it (see Lock message).

On an existing lock, Shopify’s Contextual Save Bar appears at the top of the page as soon as you change anything, with Unsaved changes, Discard and Save. Click Save there at any step. On a new lock, the bar appears once you reach Step 3. You can also click Save at the bottom of Step 3.

Shopify Contextual Save Bar with Unsaved changes, Discard and Save

Save from the Contextual Save Bar.


  1. In Step 1, you define the identity and scope of the lock:

    • What you call this rule (for your own management).
    • Which part of the store it applies to.

    Lock name

    • Internal name shown in the Lock list. It is required; leaving it empty shows “Rule name is required”.
    • Best practice: use a clear, descriptive pattern, e.g.:
      • Hide prices from guests
      • Wholesale collection – only for wholesale tag
      • Lock entire site – B2B only

    Status (Enable / Disable)

    • Enable: rule is applied to your storefront.
    • Disable: rule is saved but not enforced.
    • Use Disable to temporarily turn off a lock without deleting it.

    For the 7 lock targets, scope selection, price-specific options and product and collection visibility options, see Rule Builder Lock Target Reference.


  2. In Step 2, you define who can unlock or see the content you targeted in Step 1.

    You do this by adding conditions to rules. Each condition is like a test:

    “If this statement is true for the visitor, then they are allowed.”

    Step 2 with an empty Rule 1, the condition chips and + Add rule

    Pick a condition chip to add the first condition to Rule 1.

    For every condition type, combining conditions with AND / OR, editing the lock message and tips for clean rules, see Rule Builder Access Rules Reference.


  3. Step 3 lets you fine-tune edge cases: which content stays unlocked, and, for every target except Price and add to cart and Variants, SEO and page-display options.

    When you lock a broad target (like the entire store), tick what should not be locked:

    • Home page
    • Customer areas (login, register, and account pages)
    • Policy pages
    • Specific pages (type a URL and click Add)
    • Selected products (keep some products shoppable even while the lock is on), not shown for every target, e.g. not for Pages, blogs and URLs

    This lets you design more nuanced experiences without creating many separate locks.

    Step 3 Exclude Pages: Exclude from lock rules, SEO and Meta Tag Options, Hide content on locked page, the Summary card and the Save button

    Step 3: choose what stays unlocked, then Save.

    For every target except Price and add to cart and Variants, Step 3 also shows:

    • SEO and Meta Tag Options → Add the “noindex” meta tag to any pages protected by this lock.
    • Hide content on locked page → Hide store’s header and footer and Hide store’s navigation bar.

    Step 3 for an Entire store lock: Exclude from lock rules, SEO and Meta Tag Options and Hide content on locked page

    Extra Step 3 options, shown for every target except Price and add to cart and Variants.

    Click Save (in Step 3 or in the Contextual Save Bar). BSS B2B Lock shows “Saved lock settings”, syncs your theme in the background, and the title changes to Edit lock “<lock name>”.

    For details, see Exclude Pages & Lock Message.


The Rule Builder is designed so that:

  • Step 1 answers: “What am I protecting?”
  • Step 2 answers: “Who is allowed to see it?”, and the Preview card answers “What does everyone else see?”
  • Step 3 answers: “Are there exceptions?”

Once you’re comfortable with each field in these three steps, you can confidently design complex, but maintainable, B2B and access-control scenarios for your Shopify store.


If you have questions or need assistance configuring BSS B2B Lock, our dedicated support team is here to help.

  • In-App Assistance: Click Need help? or use the in-app chat button within BSS B2B Lock.
  • Email Support: Contact us at [email protected] with your store URL and specific rule details.