💸
Shopify
  • Modular Shopify Storefront
  • Supported Features
  • Architecture
    • Modularity
    • Extensibility
    • Structure
    • Framework
    • Documentation
    • Typings
  • Solutions
    • SortedMap & SortedRenderMap
    • Query Controller
  • Packages
    • @scandipwa/shopify-checkout
      • Internal Structure
    • @scandipwa/shopify-checkout-line-items
      • Internal Structure
    • @scandipwa/shopify-checkout-web
      • Internal Structure
    • @scandipwa/shopify-collections
      • Internal Structure
    • @scandipwa/shopify-collections-products
      • Internal Structure
    • @scandipwa/shopify-customer
      • Internal Structure
    • @scandipwa/shopify-product-tags
      • Internal Structure
    • @scandipwa/shopify-product-variants
      • Internal Structure
    • @scandipwa/shopify-products
      • Internal Structure
    • @scandipwa/shopify-shop
      • Internal Structure
Powered by GitBook
On this page
  • Class CollectionProductsQuery
  • Function collectionProductsResponseProcessor
  • Function processCollectionProduct
  • Variable SINGLE_PRODUCT_COLLECTION
  • Class CollectionProductsComponent
  • Class CollectionProductsContainer
  • Function CollectionProductsFallback

Was this helpful?

  1. Packages
  2. @scandipwa/shopify-collections-products

Internal Structure

Previous@scandipwa/shopify-collections-productsNext@scandipwa/shopify-customer

Last updated 4 years ago

Was this helpful?

Class CollectionProductsQuery

import {CollectionProductsQuery} from '@scandipwa/shopify-collections-products/src/api/CollectionProducts.query.js'

Description: Collection-products query declarations. Read more: ,

Namespace: ShopifyCollectionsProducts/Api/CollectionProducts/Query/CollectionProductsQuery

Function collectionProductsResponseProcessor

import {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

import {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

import {SINGLE_PRODUCT_COLLECTION} from '@scandipwa/shopify-collections-products/src/api/CollectionProducts.query.js'

Description: A type of CollectionProductsQuery associated with getCollectionProducts function.

Usage examples:

// Returns getter of single collection-products query
import getCollectionProductsQueryByType, { SINGLE_PRODUCT_COLLECTION } from '@scandipwa/shopify-collections-products/src/api/CollectionProducts.query.js';
const queryGetter = getCollectionQueryByType(SINGLE_PRODUCT_COLLECTION);

Class CollectionProductsComponent

import {CollectionProductsComponent} from '@scandipwa/shopify-collections-products/src/component/CollectionProducts/CollectionProducts.component.js'

Description: Collection Products listing component

Namespace: ShopifyCollectionsProducts/Component/CollectionProducts/Component/CollectionProductsComponent

Class CollectionProductsContainer

import {CollectionProductsContainer} from '@scandipwa/shopify-collections-products/src/component/CollectionProducts/CollectionProducts.container.js'

Description: Collection Products container. Used to prepare the data to perform a collection-products request

Namespace: ShopifyCollectionsProducts/Component/CollectionProducts/Container/CollectionProductsContainer

Function CollectionProductsFallback

import {CollectionProductsFallback} from '@scandipwa/shopify-collections-products/src/component/CollectionProductsFallback/index.js'

Description: A component used as fallback while the products are loading on the collection page

Namespace: ShopifyCollectionsProducts/Component/CollectionProductsFallback/Index/CollectionProductsFallback

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.

Query controller
TypedQuery