Per-rule sell-out deletion
Each merchandising rule has a Delete Pins on Sell Out toggle. When enabled, any pinned product in that rule is automatically removed if it becomes unavailable (sold out globally). This is evaluated whenever a product’s inventory is updated. How it works:- When a product’s inventory reaches zero and it is no longer available for sale, Layers deletes its pin from the rule
- Layers updates the pin count for the rule automatically
- Layers flushes the rule’s cache so the change takes effect immediately on the storefront
- If the product comes back in stock, you need to re-pin it manually
If the store-level Auto-delete rule pins on product removal setting is enabled, pins are deleted on sell-out for all rules regardless of each rule’s individual toggle.
Location-based inventory filtering
For stores with multiple fulfillment locations, Layers supports location-based sell-out checks. Instead of relying on global inventory, the sell-out check can consider only specific Shopify locations when determining if a product is “sold out” for pin deletion purposes. By default, the sell-out check uses the locations defined by your store’s inventory location scope, so pins sell out against the same locations as every other inventory number. You can also configure an explicit Sell Out Check Locations list. When set, it overrides the general scope, which lets you pull pins sooner than the storefront hides the product. How location filtering works:- A product is considered “sold out” only when it has zero inventory at all of the checked locations
- Products that are not tracked at any of the checked locations are not treated as sold out (no false positives)
- The check runs both during bulk inventory evaluation and when individual products are updated
- With no explicit sell-out list and an inventory location scope of All locations, the check uses global inventory (default behavior)
- Regional fulfillment: Only unpin products when they sell out at your primary warehouse, even if stock remains at a secondary location
- Retail vs. online: Track sell-out based on your online fulfillment center, ignoring retail store inventory
- Multi-warehouse operations: Consider a product sold out only when all key warehouses are empty
Location-based sell-out filtering applies store-wide to all rules that have Delete Pins on Sell Out enabled (or when the store-level auto-delete setting is active). You cannot configure different location filters per rule.