Skip to Main Content
Django 5 By Example - Fifth Edition
book

Django 5 By Example - Fifth Edition

by Antonio Melé
April 2024
Beginner to intermediate content levelBeginner to intermediate
822 pages
18h 50m
English
Packt Publishing
Content preview from Django 5 By Example - Fifth Edition

10

Extending Your Shop

In the previous chapter, you learned how to integrate a payment gateway into your shop. You also learned how to generate CSV and PDF files.

In this chapter, you will add a coupon system to your shop and create a product recommendation engine.

This chapter will cover the following points:

  • Creating a coupon system
  • Applying coupons to the shopping cart
  • Applying coupons to orders
  • Creating coupons for Stripe Checkout
  • Storing products that are usually bought together
  • Building a product recommendation engine with Redis

Functional overview

Figure 10.1 shows a representation of the views, templates, and functionalities that will be built in this chapter:

Figure 10.1: Diagram of functionalities built in Chapter 10

In this chapter, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Django 5 for the Impatient - Second Edition

Django 5 for the Impatient - Second Edition

Daniel Correa, Greg Lim

Publisher Resources

ISBN: 9781805125457Supplemental Content