@shopgate/pwa-common-commerce
Version:
Commerce library for the Shopgate Connect PWA.
4 lines • 482 B
JavaScript
import*as pipelines from"../constants/Pipelines";import fetchProducts from"./fetchProducts";/**
* Retrieves the information for the liveshopping products widget.
* @return {Function} A redux thunk.
*/var fetchLiveshoppingProducts=function fetchLiveshoppingProducts(){return function(dispatch){dispatch(fetchProducts({pipeline:pipelines.SHOPGATE_CATALOG_GET_LIVESHOPPING_PRODUCTS,cached:false,includeFilters:false,includeSort:false}));};};export default fetchLiveshoppingProducts;