So I am trying to make an app that stores products in the current user’s cart and have the list emailed to them in a proper format. My current app only shows the values of the product separately without format like this:
but I want the email to look something like
MSI GE76 Raider, Quantity: 2, Price: (Price)
Waymond Wong, Quantity: 1, Price: (Price)
Makoto, Quantity: 1, Price: (Price)
Legion 5 Pro, Quantity: 2, Price: (Price)
Total Price: ₱1,750,010
I’ve read through the forums and I’ve found that making a String field type in my database would help me solve my formatting problem but what if I had no inputs from the user regarding the quantity as it is calculated when the user clicks the add to cart button of an already existing product in their cart.