Craft Commerce Subscriptions

Learn how to use the Craft Commerce subscriptions feature to build a multi-plan subscription site with Stripe.

Start Course
Ryan Irelan

I am the creator of CraftQuest, a web developer, and former software team manager. I spend most of my time improving CraftQuest with code and courses. When I'm not in front of the computer, I spend my time with my family, and running on the roads and trails of Austin, TX.

Craft Commerce Subscriptions is made up of the following videos:

1Introduction to the CourseWe kick off the course with a review of what we'll learn and what you need to get started. 05:52
2Pre-Requisites to Complete the CourseBefore starting the course, let's make sure we're all on the same page. 02:27
3What We're BuildingWalk-thru of the features we're building into the Crafty Coffee site. 03:19
4Installing the Sample Site & Craft CommerceWe use the Github repository to get the sample site up and running on our local machine. 05:03
5Installing and Configuring the Stripe Gateway PluginIn order to have subscriptions in Commerce we need to use the Stripe gateway. 04:05
6Creating Subscription Products in StripeWe add new subscriptions plans in Stripe and configure the prices. 03:01
7Creating Subscription Plans in CommerceWe add products to Commerce and connect them to the Stripe equivalent. 06:09
8Coding the Subscription Plans TemplateWe query for the plans and iterate over them to create a subscription plans page with a card interface. 11:27
9Coding the Account Creation PageThe second step of subscribing is creating an account. We'll code a standard Craft user registration template. 06:21
10Coding the Subscription Payment PageWe complete the subscription checkout flow with the payment page. It relies heavily on Stripe HTML elements. 08:09
11Coding the Subscription Management PageWe give the customer the ability to manage their subscription and see pertinent information about it. 16:04
12Controlling Access Based on SubscriptionWe check subscription status and show premium recipes only for users that are logged in and have an active subscription. 10:01
13Subscription Reporting and ManagementWe walk through the limited tools in Commerce for reviewing subscription data and three other ways to get insights into your subscriptions site. 07:11