Skip to main content

Hide Location Based on Rules

The Hide Location Based on Rules feature gives you conditional control over location visibility using the app's shared rule builder — the same engine that powers Conditional Rules.

Where to configure it​

You can reach the same rule builder from two places:

  • Display Setting → Location Management → gear icon next to Hide Location Based on Rules.
  • Conditional Rules → Hide Location Rules tab.

How It Works:​

  1. Choose a Location — each location has its own independent set of rules. Pick one from the Select a location dropdown.
  2. Build conditions — for each condition row, choose a type (see the full list in Condition Types Reference), an operator (Includes/Excludes, equals, not equals, contains, etc. — the operator list depends on the type chosen), and a value.
  3. Combine conditions:
    • + And — add another condition to the same group; all conditions in a group must match (AND logic).
    • + OR — add a new condition group; the location is hidden if any group matches (OR logic between groups).
  4. Optionally check Apply to Header Block to also hide this location from the Location Picker header/dropdown, not just the product-page widget.
  5. Click Save.

hide locations based on rules

Example​

Goal: Hide New York unless a Gift Card is in the cart.

  1. Choose New York as the location.
  2. In the condition row: Type → Product, Operator → Includes, Value → Gift Card.
  3. Save. New York now appears only when a Gift Card is in the customer's cart; it stays hidden otherwise.

Advanced Rules​

Because this uses the shared Conditional Rules engine, you're not limited to product-based conditions — you can combine Product, Customer, Location, Regional, Time and Date, Segment, and Cart condition types in the same rule. See Condition Types Reference for the full list with examples.

| For inquiries, support, or assistance, feel free to reach out to us at: 📧 Email: [email protected]