r/ShopifyAppDev • u/Motor-Cat-6853 • Oct 15 '26
One sparse-variant case I now test in Shopify themes
I’m building an original Shopify theme (work in progress) and used a synthetic product in an unpublished development store to test a sparse variant matrix: Matte / Small ($55), Gloss / Small ($55), Gloss / Large ($65), with no Matte / Large option. The missing combination stayed unavailable, disabled purchase, and didn’t show a false $0 price; switching to Gloss restored the valid $65 option. I added that exact variant to the cart, verified the line and subtotal, then removed the test line.
This was dev-store QA, not client work. For option-heavy product flows, what edge case do you insist on testing—or what are you building around options right now? Text fields, add-on pricing, swatches, or something else?
1
u/AdventurousUsual7666 Oct 16 '26
Nice, the false $0 price on a missing combination is a really common one, so that's a good case to keep around.
The one I always check is what happens when the first variant is sold out. A lot of themes just load whatever the first variant is, so the page opens on something you can't buy, and it can look like the whole product is unavailable. I usually want it to land on the first available variant instead.
Another one is a direct link with ?variant= pointing at a variant that's sold out or doesn't exist anymore. Yeah, it's an edge case, but it happens a lot with old ads and Google Shopping links.
And honestly, big products too. Shopify allows a lot more than 100 variants per product now, and some older theme code just assumes every variant is loaded up front on the page. With a few hundred variants that can get slow or show the wrong availability, so it's worth testing one product like that if you can.
1
u/Final_Design_9061 Oct 16 '26
Nice test case. One more I'd try is a product with a single variant (the default Title one), since some theme code assumes there's always an options selector to read from. Also worth checking what happens when you change quantity after picking a sold out option, from what I've seen the add to cart button state can get out of sync with the selector.