Fixed missing variants for products without a channel assignment
BigCommerce is rolling out a fix for a bug where the GraphQL Storefront API’s variants field returned an empty list for a product that has variants, when the product had no channel assignment for the requested channel.
- Variants now resolve correctly. A product missing a channel assignment for the requested channel now returns its variants, matching how the equivalent product query already behaves.
You may notice variants results change for a small number of previously affected products over the coming weeks as this rolls out.
For details, see the Guide to Working with Product Variants.
Deleting the last value of a variant option is now rejected
We’re beginning to roll out a fix so deleting the last remaining value of a variant option no longer silently leaves a product with no purchasable variant. You may notice changes in this area over the coming weeks.
- Rejects the delete: removing the last value of a variant option now returns an error instead of succeeding and leaving an empty option behind.
- No implicit conversion: a product is not automatically converted from complex to simple by this endpoint. Delete the option itself to simplify a product.
For details, see the Delete a Variant Option Value reference.