Can Fetch include download links directly in Shopify so a link can be revisited once the order is completed?

Modified on Wed, 19 Jul, 2023 at 6:55 AM

Yes! A bit of knowledge of the liquid templating language within Shopify is required to complete this, however.


Access your FetchApp account order page with the email and order number values prefilled: 
http://yourdomain.fetchapp.com/orders?email=somebody@gmail.com&number=105&submit=true

You will be embedding the above URL into Shopify, while replacing the following:
  1. yourdomain --> Your FetchApp Domain
  2. email=somebody@gmail.com --> This will be a dynamic variable that Shopify passes, which will look like email={{ order.email }}
  3. number=105 --> This will be a dynamic value from liquid that will look like number={{ order.number }}

    The final embed code will be an anchor tag that will direct the current customer to your FetchApp order page with the proper queries already filled out:


    <a href="http://yourdomain.fetchapp.com/orders?email={{ order.email }}&number={{ order.number }}&submit=true">Your Link Text Here</a>


      Note that the order number liquid will differ from template to template, the above example is for implementation on the customer.liquid template. Be sure to use the {{ order.number }} variable and not the {{ order.name }} variable, the second will not work in the query string because of how Shopify passes the data. 

      Was this article helpful?

      That’s Great!

      Thank you for your feedback

      Sorry! We couldn't be helpful

      Thank you for your feedback

      Let us know how can we improve this article!

      Select at least one of the reasons
      CAPTCHA verification is required.

      Feedback sent

      We appreciate your effort and will try to fix the article