Syntax - Tasty Web Development Treats

Building a Coupon Engine

Apr 25, 2022 · 26 min
0:00-26:18

Streams straight from the publisher. podnod never proxies or re-hosts episode audio.

In this Hasty Treat, Scott and Wes talk about the coupon engines they’ve built and use on their courses.

Prismic - Sponsor

Prismic is a Headless CMS that makes it easy to build website pages as a set of components. Break pages into sections of components using React, Vue, or whatever you like. Make corresponding Slices in Prismic. Start building pages dynamically in minutes. Get started at prismic.io/syntax.

LogRocket - Sponsor

LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax.

Show Notes
  • 00:26 Welcome
  • 01:12 Sponsor: Prismic
  • 02:32 Sponsor: LogRocket
  • 04:06 What we use for coupons
  • Stripe
  • Braintree
  • 06:27 Structure of our coupons
  • 10:43 Products and carts
  • 13:59 Country validation
  • 15:11 Affiliate codes
  • 16:36 Chaining rules together
  • 19:41 Tracking coupons
  • 20:54 Automatically applied coupons
  • 22:12 Quick tips for coupons
Tweet us your tasty treats