ProductListingActions (Commerce Engine)
ProductListingActions (Commerce Engine)
In this article
|
Note
This component was introduced in version |
The product listing action creators.
See Dispatch Actions.
ProductListingActionCreators
fetchMoreProducts
Fetches and additional page of products and appends it to the current list.
Returns AsyncThunkAction<QueryCommerceAPIThunkReturn | null, void, AsyncThunkCommerceOptions<StateNeededByFetchProductListing>>
: A dispatchable action.
fetchProductListing
Refreshes the product listing.
Returns AsyncThunkAction<QueryCommerceAPIThunkReturn, void, AsyncThunkCommerceOptions<StateNeededByFetchProductListing>>
: A dispatchable action.
promoteChildToParent
Promotes a child product to a parent product.
Parameters
-
payload:
PromoteChildToParentPayload
The action creator payload.
Returns PayloadAction<PromoteChildToParentPayload>
: A dispatchable action.
Was this article useful?
Thanks for your feedback!