The request
“Yarn has a lot of variants: brand, type, weight, color. We want to show the stock count for each one so customers know how many skeins are left before they order.”
Customers buying yarn for a project need enough of one dye lot. Stock counts mattered.
The approach
We added a stock count next to each variant that updates as the customer selects options, with a low-stock warning when quantity falls below a threshold the shop sets.
What we shipped
Stock count shown per variant
Updates as options are selected
Low-stock warning at a set threshold
Threshold adjustable in the theme editor