Internal Structure
Class CollectionProductsQuery
CollectionProductsQueryimport {CollectionProductsQuery} from '@scandipwa/shopify-collections-products/src/api/CollectionProducts.query.js'Description: Collection-products query declarations. Read more: Query controller, TypedQuery
Namespace: ShopifyCollectionsProducts/Api/CollectionProducts/Query/CollectionProductsQuery
Function collectionProductsResponseProcessor
collectionProductsResponseProcessorimport {collectionProductsResponseProcessor} from '@scandipwa/shopify-collections-products/src/api/CollectionProducts.processor.js'Description: Processess products within collections. Returns void, instead it modifies the passed argument.
Namespace: ShopifyCollectionsProducts/Api/CollectionProducts/Processor/collectionProductsResponseProcessor
Function processCollectionProduct
processCollectionProductimport {processCollectionProduct} from '@scandipwa/shopify-collections-products/src/api/CollectionProducts.processor.js'Description: Single collection product processor. Returns void, instead it modifies the passed argument.
Namespace: ShopifyCollectionsProducts/Api/CollectionProducts/Processor/processCollectionProduct
Variable SINGLE_PRODUCT_COLLECTION
SINGLE_PRODUCT_COLLECTIONimport {SINGLE_PRODUCT_COLLECTION} from '@scandipwa/shopify-collections-products/src/api/CollectionProducts.query.js'Description: A type of CollectionProductsQuery associated with getCollectionProducts function.
Usage examples:
Class CollectionProductsComponent
CollectionProductsComponentDescription: Collection Products listing component
Namespace: ShopifyCollectionsProducts/Component/CollectionProducts/Component/CollectionProductsComponent
Class CollectionProductsContainer
CollectionProductsContainerDescription: Collection Products container. Used to prepare the data to perform a collection-products request
Namespace: ShopifyCollectionsProducts/Component/CollectionProducts/Container/CollectionProductsContainer
Function CollectionProductsFallback
CollectionProductsFallbackDescription: A component used as fallback while the products are loading on the collection page
Namespace: ShopifyCollectionsProducts/Component/CollectionProductsFallback/Index/CollectionProductsFallback
Last updated
Was this helpful?