- Show all out of stock items will not add any filter: any item that is in or out of stock will show up in the search.
- Hide all out of stock items will add a filter on
inventory_quantity > 0
. This means the search will even hide items that are not tracked by Shopify if the stock we get in the webhooks for this product is 0. - Hide all out of stock items - except those marked as available adds a filter on
inventory_available: true
The inventory_quantity
value is set at the Shopify level, and we just fetch and index the product data that Shopify returns.
If the inventory_quantity attribute is not reflecting the expected value, you can refer to the following guide articles:
[Shopify] Why do I have a negative number on my inventory_quantity attribute?
[Shopify] How does the track quantity configuration affect Algolia results?