Internal Structure
Last updated
Was this helpful?
Last updated
Was this helpful?
ProductsQuery
Description: A general product and product-list query declaration. Read more: ,
Namespace: ShopifyProducts/Api/Products/Query/ProductsQuery
_getProductFields
Description: A function which returns an array of product fields. Read more:
getProductByHandleField
Description: General product field getter (by handle) [returns node]
getProductsField
Description: General product list field getter [returns edges]
processProduct
Description: The single product processor. Returns void, instead it modifies the passed argument.
Namespace: ShopifyProducts/Api/Products/Processor/processProduct
🔮 Common extension point: Great place to add some "calculated" field into product
processProductByHandleResponse
Description: The single product query response processor
Namespace: ShopifyProducts/Api/Products/Processor/processProductByHandleResponse
processProductsResponse
Description: The product-list query response processor (from edges and nodes creates an array of products)
Namespace: ShopifyProducts/Api/Products/Processor/processProductsResponse
PAGINATED_PRODUCTS
Description: A type of ProductsQuery
associated with getProductsField
function.
Usage examples:
SINGLE_PRODUCT
Description: A type of ProductsQuery
associated with getProductByHandleField
function.
Usage examples:
ProductCardComponent
Description: The product card (preview) component
Namespace: ShopifyProducts/Component/ProductCard/Component/ProductCardComponent
sortedRenderMap
ProductCardContainer
Description: The product card (preview) container, used to provide a product context to all children components
Namespace: ShopifyProducts/Component/ProductCard/Container/ProductCardContainer
ProductFallbackPage
Description: A component used as fallback while the product page is loading
Namespace: ShopifyProducts/Component/ProductFallbackPage/Index/ProductFallbackPage
ProductHeroComponent
Description: The product hero (summary) component (usually on the top of Product page)
Namespace: ShopifyProducts/Component/ProductHero/Component/ProductHeroComponent
ProductMediaComponent
Description: Product media (gallery) component
Namespace: ShopifyProducts/Component/ProductMedia/Component/ProductMediaComponent
ProductPageComponent
Description: Product page component
Namespace: ShopifyProducts/Component/ProductPage/Component/ProductPageComponent
sortedRenderMap
ProductsFallbackPage
Description: A component used as fallback while the product-list page is loading
Namespace: ShopifyProducts/Component/ProductsFallbackPage/Index/ProductsFallbackPage
ProductsPageComponent
Description: Product listing page component
Namespace: ShopifyProducts/Component/ProductsPage/Component/ProductsPageComponent
ProductsProvider
Description: The product context
Namespace: ShopifyProducts/Context/Products/Provider/ProductsProvider
getContextValue
Description: A product context value
🔮 Common extension point: Inject additional fields and methods into context
Description: A list of render methods used by product card. Read more:
Description: The list of sections to be displayed on the product page. Read more: