Sold Out Sticker not Showing (Flex Out of the Sandbox)

Topic summary

A user is experiencing an issue where the “Sold Out” sticker fails to display on products with zero inventory when using the Flex theme.

Current Behavior:

  • Products with all variants out of stock don’t automatically show the sold-out badge
  • The sticker only appears when the product is manually added to another collection (e.g., “Coming Soon”)
  • The badge should display both on product pages and collection pages

Code Context:
The provided Liquid code shows conditional logic for displaying various stickers (best-seller, coming-soon, new, pre-order, staff-pick, sale) with a specific condition for sold-out items using unless product.available.

Community Response:
One commenter suggested the condition requires all variants to be out of stock before the sticker displays, though the original poster confirmed quantities are set to zero. Screenshots were shared showing the issue.

Status:
The problem remains unresolved, with at least one other user reporting the same issue with the Flex theme.

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

Hi @suyash1 thanks for having a look, does this one work?
https://quiet-affair.com.au/collections/dresses/products/copy-of-ursula-dress-3

it’s under dresses > called July V-Back Oversized Mini Dress - White