Skip to main content

Edit a rule

  1. Go to Merchandise and find your rule.
  2. Click Edit to open the merchandising editor.
  3. Change pins, expressions, or settings using the sidebar tabs on the right.
  4. Edit the rule name by clicking the title in the page header.
  5. Click Save Changes to save your edits.

Publish or unpublish a rule

Use the Publish / Unpublish button in the page header to control whether a rule is live.
  • Publish — Makes the rule active so it applies to your storefront. Available when the rule is currently unpublished.
  • Unpublish — Pauses the rule without losing your work. The rule stays saved and can be re-published at any time.
If the rule has a schedule, the button becomes Publish now or Unpublish now and asks for confirmation, because it changes the schedule:
  • Publish now clears the schedule so the rule goes live immediately.
  • Unpublish now sets the schedule end date to the current time.
Choose Edit schedule in the confirmation dialog to adjust the dates instead. You cannot publish a rule whose schedule has ended or has not started yet; Layers rejects the change with a message naming the blocking date. See Rule scheduling for how publication states work.

View a rule’s change history

Click the overflow menu (three-dot icon) in the page header and select History to open the change history for the rule. The drawer shows every saved version, including automatic publishes and unpublishes made by a schedule, and lets you restore a previous version. See Config history and version restore.

Delete a rule

Click the overflow menu (three-dot icon) in the page header and select Delete Rule to permanently remove a rule. See Restore a deleted rule if you need to recover it.

Duplicate a rule

Click the overflow menu in the page header and select Duplicate Rule to create a copy with the same pins, expressions, and settings. The duplicate starts as a new unpublished draft.

Previewing changes

While editing, open the overflow menu (three-dot icon) in the page header and click Preview. This shows how your changes will look on the live storefront before saving. The preview opens in a new tab and captures your current unsaved state. See Previewing rules for details.

Tips

  • Layers allows only one active rule per collection + sort order.
  • Use the search bar in the toolbar to filter the product grid by title, vendor, SKU, tags, or other attributes while editing pins.