Skip to main content

Hello, 

When sending a notification as part of a flow. I’d like to be able to identify the quantity of products ordered from the customer from our Shopify store. 

Essentially, I’d like to say This customer ordered X units of Y product. 

I’m currently able to show a list of all products using:

Items ordered: {{ event.Items }}”

Is there a way to include unit quantities or specific quantities of a specific product? 

Thanks

Hi @JamieCourtnell 

Thank you for posting your question in the community! 

As part of the email content, you can definitely include the quantity of items purchase of a particular product. 

Similar to the product listing you have, you would use the tag: {{ item.quantity|floatformat:0 }}

The ‘floatformat:0’ just sets the decimal place in the formatting of the number. 

Any time you have a message set up to a trigger, like Placed Order, when you preview it, Klaviyo will show you a list of all the order details passed into Klaviyo. When you click on any of the items listed, you’ll see a tag associated with that particular order detail which you can then copy/paste into your email. 

I hope this helps!

@In the Inbox 


Reply