Skip to main content

Purpose

Records inventory changes for favorited products.
This setup is required if you want to:
  • Notify customers when stock falls to a given level
  • Send back-in-stock alerts for favorited products

What to do

Import the Shopify Flow template below and turn it on.

[MultiLikes] Product inventory change detection [product favorites].flow

Download (1.0 KB)

For engineers

What this flow does

Whenever a product’s inventory changes, it sends the change to the app so the app database always holds the correct stock level.

Settings

In general nothing here needs changing.
  • Variantid
    • Set {{productVariant.id}}
  • Current Sellable Online Quantity
    • Set {{productVariant.sellableOnlineQuantity}}
If you change this, stock may not sync correctly for stores that sell across several locations.
Because of how Shopify works, merchants who manage retail inventory in Shopify through Shopify POS would otherwise see stock counted as online plus POS. We use Current Sellable Online Quantity so the figure covers online stock only.