Out-of-stock products now show up in Shopify searches
FixedOn some Shopify stores, turning on Out-of-stock products had almost no effect. On those stores, a search returns only products that can be bought unless it asks for the others, and the agent rarely asked. A shopper looking for a sold-out product was still told the store didn't sell it.
The agent now asks Shopify for both, on every agent version with the capability on:
- On a store that leaves out-of-stock products out of its search, a product search shows in-stock products first, then up to 3 out-of-stock ones, 8 products at most. When there are fewer matches of one kind, the other fills the free places. On a store whose search already returns out-of-stock products, the results stay as Shopify ranks them.
- A sold-out product looked up on its own by its id is found, so the agent can show it as out of stock instead of saying it doesn't exist.
Out-of-stock products keep the same card as before: an Out of stock pill, the price, View product and no Add to cart button.
Versions without the capability still search for products that can be bought only, and starter questions are still generated from in-stock products only. On every version, a product the agent resolves by id through Shopify's catalog lookup can now be shown as a card.