Formatting the display on field values/list in email

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.



You should be able to take a list of things and use the :format as text operator to create line breaks and display the content for each item that you’re looking to display.

Here’s a video walkthrough:

I hope this helps!

1 Like

Thanks Sam! This is exactly what I was looking for in the beginning. I highly appreciate the help.