After migrating to API version 2026-07 for the new flexible collections model, we’ve hit a gap that we believe makes the current release inconsistent: there is no way to determine variant-level collection membership on any storefront surface.
- Liquid: the
variantobject has no collection membership property, andproduct.collectionsis product-level only — for a variant-scoped collection it reports the whole product as a member as soon as a single variant is included. - Storefront API:
ProductVarianthas no membership field either — there is no equivalent of theinAnyCollectionfield that Functions and the Admin API received in 2026-07.
Concrete example: consider an app that enforces purchase rules, using a cart validation Function for checkout enforcement plus a theme app extension for the storefront UX (quantity selector limits, product page messages). A merchant sets a “max 1 per order” rule targeting a variant-scoped collection. The Function correctly restricts only the member variants via ProductVariant.inAnyCollection. But the theme side can only judge membership at the product level via Liquid, so non-member variants of the same product get restricted UI even though checkout would allow the purchase. The storefront and checkout disagree, and there is no way to make them agree. The same applies to any theme or app that renders variant-dependent UI based on collection membership.
Upgrading to the latest API versions to adopt the new model is a reasonable ask. But variant-scoped collections are already available to merchants in production stores (“New Collection model and APIs now available”, June 17, 2026), while Liquid and the Storefront API cannot represent variant membership — leaving theme and app developers unable to build consistent storefront experiences for a feature that’s already in merchants’ hands.
Requests:
- Add variant-level collection membership to Liquid (e.g.,
variant.collections, or a membership check equivalent toinAnyCollection). - Add
inAnyCollection/inCollectionstoProductVariantin the Storefront API, mirroring the Functions input schema and Admin API. - If these are already planned, could you share a rough timeline? This directly affects how we advise merchants using variant-scoped collections today.