How to add Repeat Buy links to Shopify Order Notification emails

It's often the case that when a customer needs more product, the first place they will look is their email inbox for the last they've had with a brand. Aside from any post purchase nurturing or marketing flows that may be setup, a common email from all brands is the Shopify confirmation email for their last purchase. A trait for many customers is to return to this confirmation message to look at the product details, price, website etc and make another purchase.

If placing the Magic Cart link in this Shopify email, it becomes an easy way for the customer to reorder their previous purchase or view other recommendations in just a couple of clicks.

How to Setup

  1. Head to your Shopify 'Settings'
  2. Select 'Notifications' and click on 'Order confirmation'

  3. You can insert a link link this anywhere in the template in the design matching the template:
    <a href="{{ shop.url }}/apps/blueprint/replenishments?customer_id={{}}&order_id={{}}">Reorder these products</a>
  4. If using the default theme, the following would create a button:
    <table class="button main-action-cell">


        <td class="button__cell">

           <a href="{{ shop.url }}/apps/blueprint/replenishments?customer_id={{}}&order_id={{}}" class="button__text">

             Reorder these products




  5. If required this can be inserted inside the <td class="actions__cell"> element 

    You can preview the link using the preview button however please be advised that this will disable the links. To see how this appears in practice, it is recommended to make a test purchase.


Screenshot 2022-06-15 at 21.55.08

Screenshot 2022-06-15 at 21.55.52

Screenshot 2022-06-15 at 21.54.31

For more help with this or any questions, please get in touch at