ProductListingParametersActions
ProductListingParametersActions
This is for:
DeveloperIn this article
The product listing parameters action creators.
See Dispatch Actions.
Loader Function
loadProductListingParametersActions
Loads the commerce facet order, facet set, pagination, and sort reducers and returns the available product listing parameters action creators.
Parameters
-
engine:
CommerceEngine
The headless commerce engine.
Returns ProductListingParametersActionCreators
: The product listing parameters action creators.
ProductListingParametersActionCreators
restoreProductListingParameters
Restores the product listing parameters.
Parameters
-
payload:
ProductListingParameters
The action creator payload.
Returns PayloadAction<RestoreProductListingParametersPayload>
: A dispatchable action.