Yes! A bit of knowledge of the liquid templating language within Shopify is required to complete this, however.
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:
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>
-
yourdomain --> Your FetchApp Domain
-
email=somebody@gmail.com --> This will be a dynamic variable that Shopify passes, which will look like email={{ order.email }}
-
number=105 --> This will be a dynamic value from liquid that will look like number={{ order.number }}
<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
Feedback sent
We appreciate your effort and will try to fix the article