> For the complete documentation index, see [llms.txt](https://scandipwa.gitbook.io/shopify/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scandipwa.gitbook.io/shopify/packages/shopify-product-variants.md).

# @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.
