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
merchant-id
merchant-idplacement
placementpricing-url
pricing-urlproduct-list
product-listExample
<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-methodcustom-modal-content
custom-modal-contentUpdated 5 months ago
What’s Next
