Wishlist container
This container manages and displays the list of products on a user’s wishlist. Configuration options such as routeEmptyWishlistCTA
, routeEmptyWishlistCTA
and routing via routeProdDetailPage
callbacks drive the container’s behavior.
Wishlist container
Configurations
The Wishlist
container provides the following configuration options:
Example
The following example demonstrates how to render the Wishlist
container:
provider.render(Wishlist, { moveProdToCart: cartApi.addProductsToCart, routeProdDetailPage: (product) => rootLink(`/products/${product.urlKey}/${product.sku}`), });