@shopgate/pwa-common-commerce
Version:
Commerce library for the Shopgate Connect PWA.
8 lines • 409 B
JavaScript
import fetchProduct from"./fetchProduct";/**
* Retrieves a product from the Redux store.
* @param {string} productId The product ID.
* @param {boolean} [forceFetch=false] Skips shouldFetchData check. Always fetches.
* @param {boolean} [shouldProcessProductFlags=true] Skips processProductFlags()
* @return {Function} A redux thunk.
* @deprecated
*/var getProduct=fetchProduct;export default getProduct;