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:
| Parameter | Type | Required | Description |
|---|---|---|---|
routeCTA | function | No | Callback function that returns an empty cart. |
Example configuration
The following example demonstrates how to render the EmptyCart container:
provider.render(EmptyCart, { routeCTA: startShoppingURL ? () => startShoppingURL : undefined,})($emptyCart),`;