@scandipwa/shopify-product-variants

This module connects with @scandipwa/shopify-products module to add support for product variants/options.

Declarations

  1. Allows to retrieve variants for products from the Shopify Storefront API.

  2. Declares Prop types for Shopify product variants.

  3. Presentational and Container components to render UI elements for product options.

Extensions

  1. Adds product options select to product hero section.

  2. Extends product type to add related variants/options.

  3. Updates Product Context to add variant-related fields to the context value.

  4. Adds variant field to product queries.

Last updated