eCommerce
This course will teach you step-by-step to build a eCommerce site from scratch. We'll be using open-source software to create each aspect of a fully functioning eCommerce business.
Full Course is here: https://www.joincfe.com/courses/ecommerce/
Below you'll find the related lecture code to any given section and lesson. Enjoy!
Code
Section - Hello World
Section - Products Component
10 - Featured & Custom QuerySets
Section: Templates
4 - Reusable List View Snippets
Section: Bootstrap
1 - Adding Bootstrap (no code)
2 - Container vs Container-Fluid (no code)
6 - Desinging for Different Browser Sizes with Breakpoints
7 - Spacing with Margin & Padding
Section: Search Component
2 - Display the Query to the User
6 - Shell Commands for a Brief Intro to Foreign Keys
Section: Cart Component
7 - M2M Changed Signal to Calculate Cart Total
11 - Remove Items from the Cart
Section: Checkout Process
1 - The Roadmap for the Checkout Process
6 - Math with Decimals and Floats in Python
7 - Upgrading Auth to Prep for Checkout
9 - Billing Profile in the Checkout View
11 - Associate Billing Profile to Order
16 - Associate Addresses to Order
18 - Reuse Addresses for Checkout
Section: Fast Track to Jquery
5 - Data Types, Iteration and Conditionals
8 - Handling form data in jQuery
Section: Products & Async
1 - Sync vs Async (no code)
3 - Handle Ajax in Django with JsonResponse
6 & 7 - Refresh Cart Ajax Part 2 & 3
8 - Finalize Cart Updating with Ajax
8 - Finalize Cart Updating with Ajax
10 - Display Errors with jQuery Confirm
11 - Ajaxify the Contact Form Part 1 & 2
14 - Ajax CSRF Security for Django
Add Ons
Custom Django User Model
1 - Before we get started (no code)
2 - Create the Abstract Base User
3 - Create the User Model Manager
4 - Change Auth User Model to our Custom Model (no code)
5 - Reload the Database with Fixtures
6 - Forms & Admin for our Custom User
7 - Add a Required Field to the User Model
8 - Update Login & Register Forms
Custom Analytics
1 - Getting Started (No Code)
2 - Craft the Object Viewed Model
6 - Handle the Object Viewed Signal
7 - Handling and Ending User Sessions
Stripe Integration
3 - Payment Method View & Stripe JS
4 - Improving Payment Method Form
5 - Improving Payment Method Form Part 2
7 - Add Card to Customer with Stripe
Mailchimp Integration
9 - User Email Marketing Preference View
10 - Mailchimp Webhook Handler
Go Live
1 - Local vs Production Environments (no code)
10 - Add Custom Domain & HTTPs on Heroku
11 - Live Environment Variables
12 - Error Views and Templates
13 - Setup Email to Help Solve Server Errors
Account & Settings
4 - Link Account Bootstrap Cards
6 - send_email and get_template
8 - Custom QuerySet for Confirmable Activations
11 - Improved Login Form & View
12 - Login Form for Confirmation Emails
13 - Upgrading the Guest Checkout Form
15 - User Product History View
19 and 20 - Update & Create Addresses Part 1 & 2
Selling Digital Items
4 - Handling Products Being Purchased
7 - Library View for Products Only
9 - Changing File Field Storage to Protected Location
10 - Download Product File Part 1
11 - Download Product File Part 2
12 - Perform the File Download
13 - Checking Download Permissions
14 - In Library Display Part 1
15 - In Library Display Part 2 with Ajax
18 - Creating the AWS Download Class
19 - Using the AWS Download Client
Graphs and Sales
2 - Add Context for the Order Data
3 - Intuitive Recent Order Total
5 - Get Data by Custom QuerySet