EmptyCart container
The EmptyCart
container renders a message or component indicating that the cart is empty. It can provide navigation options to continue shopping or explore products.
EmptyCart container
Configurations
The EmptyCart
container provides the following configuration options:
Example configuration
The following example demonstrates how to render the EmptyCart
container:
provider.render(EmptyCart, { routeCTA: startShoppingURL ? () => startShoppingURL : undefined, })($emptyCart),
`;