Articles on: Shopify

Out of Stock Strategy (OOS)

Automatically reset store inventory to zero for missing or discontinued products that are no longer present in your supplier feed file. This ensures your store reflects accurate product availability and prevents customers from ordering out-of-stock items.


Available on: ✔️ Update



How to Set Up the Out-of-Stock Strategy


Go to App → Feed Settings → Step 4: Advanced Settings


  1. Enable Strategy: Locate the Out of Stock Strategy section and toggle the switch on.
  2. Select Scope: Choose between Current feed or Previously updated by any feed based on your catalog structure.
  3. Verify Prerequisites: Confirm that the Quantity field is mapped in Step 2 and that target locations and Store Product Filters (Step 3) are configured.


Always export a product backup from your store before running this strategy, as bulk inventory resets to zero are non-reversible.


The Out of Stock Strategy is available exclusively in Step 4 of Update Product feeds.


Out of Stock Strategy Overview



Out of Stock Strategy Smart Settings / Detailed Breakdown


1. Current Feed

Resets the inventory quantity to zero for all unmatched products and variants within the scope of the store that are absent from the latest feed file.


Current Feed Option


Example: If your store contains 10,000 products and your feed contains only 100 products, selecting this option without filters will reset all 9,900 missing store products to zero quantity.


To prevent unintended bulk stock resets across your entire catalog, always apply Store Product Filters (such as Vendor or Tag filters) to isolate the specific supplier's inventory.


Current Feed Scope Warning


2. Previously Updated by Any Feed (Shopify Only)

Resets inventory to zero only for unmatched products or variants that have a prior sync history recorded by Stock Sync.


Previously Updated Option


Example: If 5,000 products in your store were previously updated by Stock Sync and 200 of them are missing from the current feed, only those 200 unmatched variants are set to 0. Products never updated by Stock Sync remain untouched.


Apply Store Product Filters (e.g., Vendor = "Nike") to further narrow the scope so that only Nike products previously tracked by Stock Sync are evaluated.


To exclude specific products from being set to zero (such as SKUs with prefixes SY or DH), add an exclusion condition in the Step 3 SKU Filter.


Exclude SKUs via Store Filter



Key Rules & Technical Details


  • Execution Safety Stop: The Out of Stock Strategy executes only when Stock Sync matches at least some products in the feed. If an update returns No matches found (e.g., due to an empty file or column mismatch), the zeroing process is automatically aborted to protect your catalog.
  • Location Specificity: Inventory quantities are reset to 0 exclusively for the selected inventory location configured under Quantity Smart Settings in Step 2.
  • Prerequisite Field Mapping: The Quantity field must be explicitly mapped in Step 2 for the Out of Stock Strategy to execute.
  • Shopify Overselling Setting: Setting inventory to 0 does not automatically hide or unpublish variants. To stop selling out-of-stock items, disable Shopify's native setting: Continue selling when out of stock.
  • Execution Pipeline:
Priority sequence: Store Product Filters (Step 3 Scope Definition) → Feed Matching & Quantity Updates → Out of Stock Evaluation (Unmatched Records Identified) → Selected Location Inventory Reset to 0.


Enable the Quantity Zero Alert under Notifications to receive email warnings and automatically halt sync updates if zero-quantity items exceed your defined threshold percentage. Click here for more details.



Troubleshooting Steps


  • Issue: Unrelated store products from other suppliers were reset to zero quantity → Solution: You ran Current feed without scope filters. Go to Step 3 and configure Store Product Filters (by Vendor, Collection, or Tag) so the feed evaluates only products belonging to that specific supplier.
  • Issue: Out of Stock Strategy did not set missing items to zero → Solution: Check your sync log. If the feed returned No matches found, the safety stop triggered. Verify that your identifier mapping in Step 2 is correct.
  • Issue: Products with 0 quantity are still purchasable on your storefront → Solution: Go to your Shopify admin product page and uncheck Continue selling when out of stock for those variants.
  • Issue: Specific custom or manual SKUs are getting zeroed out by the feed → Solution: Add an exclusion rule in Step 3 under Store Product Filter → SKU using Doesn't match (e.g., SY* or DH*) to bypass those items during sync.



Good Articles to Continue


Updated on: 28/10/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!