Dynamically Apply Discounts
Apply a discount to your checkout automatically or when the user clicks a particular link or button
Apply Discount Immediately
// wait for Spiffy to be ready
spiffy.on('ready', function () {
// identify the checkout you want to apply the discount to
spiffy.checkout("https://yourcompany.spiffy.co/checkout/test-checkout", {
// apply the coupon!
coupon: 'MYCOUPON'
})
})Using Logic with Discounts
Apply Discount on Interaction
Last updated