Croissant Toggle
The Croissant Toggle is a smart component that displays a total Croissant Guaranteed Buyback Value and allows your customers to "opt in" to Croissant.
Required Attributes
Add external links once these pages are published:
merchant-id
merchant-id
placement
placement
pricing-url
pricing-url
product-list
product-list
Example
<croissant-toggle
merchant-id="123321"
placement="pdp"
pricing-url="https://api.retailer.croissant.com/v0/prices"
product-list="[{'product-id': '1233456789', 'quantity': '1'}]"
></croissant-toggle>
Optional Attributes
payout-method
payout-method
custom-modal-styles
custom-modal-styles
custom-modal-content
custom-modal-content
Updated 9 months ago
What’s Next