CartTotal

Examples

<!-- By default, this component will be hidden when the cart is empty -->

<div data-cart-total></div>
<!-- Always show the component -->

<div data-cart-total='{"show": true}'></div>
// Same as above

render('[data-cart-total]', CartTotalUI, { show: true });