User-939850651 posted
Hi anjaliagarwal5,
If you want to implement a shopping cart, you need to consider some situations:
First, you have to make sure that each user’s shopping cart is unique.
Second, have you considered shopping operations performed by users without logging in? etc.
The implementation method will change as the requirements and design change.
This is a simple tutorial for a shopping cart, or you need to Google to search for a solution
that suits you.
Best regards,
Xudong Peng