Implementing a Shopping Cart System
In this chapter, we’ll learn all about how to make a shopping cart for websites. To implement this feature, we will need to learn how web sessions work and how to use Django sessions. Django sessions will be used to store user-specific information as they navigate through the site.
In this chapter, we will be covering the following topics:
- Introducing web sessions
- Creating a cart app
- Adding movies to the cart
- Listing movies added to the cart
- Removing movies from the cart
By the end of the chapter, you will have the knowledge to work with web sessions, implement shopping cart systems, and track and maintain user information between requests from the same user.