Expanding your project using AI
In this section, you are presented with a task to extend your project, accompanied by a sample prompt for ChatGPT to assist you. To engage with ChatGPT, visit https://chat.openai.com/. If this is your first interaction with ChatGPT, you can revisit the Expanding your project using AI section in Chapter 3, Extending Your Blog Application.
In this project example, we have implemented an online shop. We have added orders, payments, and a coupon system. Now, another typical feature of e-commerce platforms is managing shipping costs. Let’s consider adding a weight attribute to products and implementing shipping costs based on the total weight of the items shipped. Use ChatGPT to help you implement shipping costs for products, making them dependent on the product’s weight. Ensure that Stripe charges the correct amount, including the calculated shipping costs. You can use the prompt provided at https://github.com/PacktPublishing/Django-5...