Internal Structure
Last updated
Was this helpful?
Last updated
Was this helpful?
ProductVariantsQuery
Description: Product variants query declaration. Read more:
Namespace: ShopifyProductVariants/Api/ProductVariants/Query/ProductVariantsQuery
_getVariantFields
Description: A function which returns an array of product variant fields. Read more
getOptionsField
Description: Getter for variant options [returns edges]
getVariantsField
Description: Getter for product variants [returns edges]
ProductOptionComponent
Description: Product Option component
Namespace: ShopifyProductVariants/Component/ProductOption/Component/ProductOptionComponent
ProductOptionContainer
Description: Product Option Container. Used to connect with the Product Context and define functions.
Namespace: ShopifyProductVariants/Component/ProductOption/Container/ProductOptionContainer
containerFunctions
Description: Function which returns an object of functions.
🔮 Common extension point: Add more logic to Product Option component
containerProps
Description: Function which returns an object of props that are going to be passed down to the component.
🔮 Common extension point: Add more props to Product Option component
ProductOptionsComponent
Description: Product Options Component. Used to display multiple Product Options
Namespace: ShopifyProductVariants/Component/ProductOptions/Component/ProductOptionsComponent