Class ProductsQuery
import {ProductsQuery} from '@scandipwa/shopify-products/src/api/Products.query.js'
Description: A general product and product-list query declaration. Read more: Query controller, TypedQuery
Namespace: ShopifyProducts/Api/Products/Query/ProductsQuery
Method _getProductFields
Description: A function which returns an array of product fields. Read more: Extending Query controllers
Method getProductByHandleField
Description: General product field getter (by handle) [returns node]
Method getProductsField
Description: General product list field getter [returns edges]
Function processProduct
import {processProduct} from '@scandipwa/shopify-products/src/api/Products.processor.js'
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
Function processProductByHandleResponse
Description: The single product query response processor
Namespace: ShopifyProducts/Api/Products/Processor/processProductByHandleResponse
Function processProductsResponse
Description: The product-list query response processor (from edges and nodes creates an array of products)
Namespace: ShopifyProducts/Api/Products/Processor/processProductsResponse
Variable PAGINATED_PRODUCTS
Description: A type of ProductsQuery associated with getProductsField function.
Usage examples:
Variable SINGLE_PRODUCT
Description: A type of ProductsQuery associated with getProductByHandleField function.
Usage examples:
Class ProductCardComponent
Description: The product card (preview) component
Namespace: ShopifyProducts/Component/ProductCard/Component/ProductCardComponent
Member sortedRenderMap
Description: A list of render methods used by product card. Read more: SortedRenderMap
Class ProductCardContainer
Description: The product card (preview) container, used to provide a product context to all children components
Namespace: ShopifyProducts/Component/ProductCard/Container/ProductCardContainer
Function ProductFallbackPage
Description: A component used as fallback while the product page is loading
Namespace: ShopifyProducts/Component/ProductFallbackPage/Index/ProductFallbackPage
Class ProductHeroComponent
Description: The product hero (summary) component (usually on the top of Product page)
Namespace: ShopifyProducts/Component/ProductHero/Component/ProductHeroComponent
Description: Product media (gallery) component
Namespace: ShopifyProducts/Component/ProductMedia/Component/ProductMediaComponent
Class ProductPageComponent
Description: Product page component
Namespace: ShopifyProducts/Component/ProductPage/Component/ProductPageComponent
Member sortedRenderMap
Description: The list of sections to be displayed on the product page. Read more: SortedRenderMap
Function ProductsFallbackPage
Description: A component used as fallback while the product-list page is loading
Namespace: ShopifyProducts/Component/ProductsFallbackPage/Index/ProductsFallbackPage
Class ProductsPageComponent
Description: Product listing page component
Namespace: ShopifyProducts/Component/ProductsPage/Component/ProductsPageComponent
Class ProductsProvider
Description: The product context
Namespace: ShopifyProducts/Context/Products/Provider/ProductsProvider
Method getContextValue
Description: A product context value
🔮 Common extension point: Inject additional fields and methods into context
This page is automatically generated
All modification will be erased during the next deployment. If you intend to modify the contents, please refer to the source-code.