The request
“We're adding extra variant options and the unavailable combinations don't show as crossed out anymore. Customers pick a combination that doesn't exist and get an error.”
Variant logic that broke with added options.
The approach
We fixed the variant availability display so unavailable combinations show crossed out across all option types, and the add-to-cart button disables for them.
What we shipped
Unavailable combinations crossed out
Works across all option types
Add to cart disabled for unavailable combinations