Croissant Cart Buyback Value
This component returns a simple span, and uses the required attributes below to calculate the total Croissant Cart Buyback value.
Required Attributes
cart
cart
Customization
This component is a simple, un-styled text component. The styling can be modified by hooking into the CSS class name:.croissant-cart-buyback-value
.
Example Code
$<croissant-cart-buyback-value cart={JSON.stringify(cart)}></croissant-cart-buyback-value>
.croissant-buyback-value {
color: purple;
font-family: "Helvetica, sans-serif";
font-size: 18px;
}
Screenshot
Updated 5 months ago