Access Returned data from getOrderData in Send Marketing email

Access Returned data from getOrderData in Send Marketing email

BRDE
Tourist
6 1 1

Hi - 

 

I am currently moving all my transactional emials from klaviyo to Shopify Mail. Until now everything went super smooth. The only missing part is the send a replenishment reminder to customers after X days which includes a list of items they purchased in their last order. Furthermore, the mail should have a "reorder my last order items" button which sends the customers to the cart where all items in the same quantity as for the last order are already added. 

 

Getting the last order seems easy with getOrderData - but how can I then use the returned data in the Send Marketing Email template - ideally inside the product section? Any idea? 

Replies 0 (0)