meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

Building a Coupon Engine

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, News, Technology

4.91.2K Ratings

🗓️ 25 April 2022

⏱️ 26 minutes

🧾️ Download transcript

Summary

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 Scott’s Instagram LevelUpTutorials Instagram Wes’ Instagram Wes’ Twitter Wes’ Facebook Scott’s Twitter Make sure to include @SyntaxFM in your tweets

Transcript

Click on a timestamp to play from that location

0:00.0

Monday Monday Monday open wide dev fans get ready to stuff your face with

0:07.0

JavaScript CSS node modules barbecue tips get work flow break dancing soft skills web

0:12.2

development the hastiest the crazy as the tastiest web development treats coming in

0:17.9

hot here is Wes Barakuda boss and Scott El Toro loco Tolinsky

0:26.2

welcome to syntax on this Monday hasty treat we're going to be talking about

0:33.0

coupon coupons building a coupon engine it's something that if you work in e-commerce or

0:38.8

something in general if you're working on the web now coupons are a whole thing now we're

0:44.0

going to be talking about some strategies for building a coupon engine some ideas behind it

0:48.6

some do's and don'ts and just some general thoughts my name is Scott Linsky I'm a developer

0:53.3

from Denver colorado and with me as always is Wes boss a coupon engines complicated lots of

1:01.9

if statements the if's if's if's is this coupon give discount. We are sponsored by three awesome

1:10.3

companies or two companies today. Parismic and log rocket let me tell you about prismic prismic

1:15.6

is a headless CMS where you just sign up and start creating your content types it's awesome so

1:23.6

they focus their CMS around this thing called slices which I think is really cool so

1:32.4

what you do is you sign up for prismic you log in you can start creating your data types

1:38.2

but instead of creating just like pages you can create slices so maybe you could create a

1:46.0

a person slice in a person way have a name and a job title and a photo and maybe some other

1:53.7

information that associated with that slice and then once you've got these different types of slices

1:58.8

you can bring them in and sort of it's just a page builder at that point what I really like is

2:05.2

that a slice on prismic is just a component in your application that whatever it is that you're

2:11.7

using to consume the API and build it out it works really good I use it myself on a website

2:16.8

about six months ago and I really really like that approach or check it out for yourself prismic.io

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2026.