Sell Out of stock items and still allow filtering of in stock items

Topic summary

Merchants want to sell both in-stock and out-of-stock items while allowing customers to filter for in-stock products only. The core challenge: Shopify’s native availability filter only works when out-of-stock items are marked as unavailable for sale, which prevents selling them as pre-orders.

Desired functionality:

  • Display “Pre-order” button when inventory reaches zero at primary location
  • Provide “in stock” filter on collection and search pages
  • Continue selling out-of-stock items with longer delivery times

Workarounds attempted:

  • Creating separate collections where inventory > 0 (“quick ship” pages)
  • Using metafields based on stock status, though filtering from metafields proved problematic
  • API-based solution: automatically updating a metafield every 15 minutes to track orderable status, then filtering by that field instead of stock level
  • Third-party apps like AI Search & Product Filter to hide unavailable items when filters are applied
  • Creating filters based on “Stock on hand” for inventory > 0 products

Current status: No ideal native solution found. Most participants report using imperfect workarounds rather than achieving the exact desired behavior within Shopify’s standard filtering system.

Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

Regarding no. 2, you can create filter by Stock on hand for products with inventory > 0 and Pre-order for “Continue selling when out of stock” products that have inventory < = 0.