- April 8, 2020
Deprecated price field on product variants and options
Open CommerceWhat
A new
pricingfield has been added to Product and ProductVariant types, and thepricefield has been deprecated.When using the new field:
A price on a product can be a range (based on the product’s variants)
Prices (minimum, maximum, range) are now properly reported through the API for certain products.
Why
We wanted to keep fields consistent across packages and product types. Additionally, the
pricingfield makes the GraphQL API match the in-app pricing features.