Skip to content

Instantly share code, notes, and snippets.

@nord
Created November 10, 2016 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nord/696422d993734af7b75944e72e59d25c to your computer and use it in GitHub Desktop.
Save nord/696422d993734af7b75944e72e59d25c to your computer and use it in GitHub Desktop.
Code snippet for adding a link to invoice to the Order page (customers/order.liquid) in Shopify. Used by Sufio for Shopify app (http://sufio.com/shopify).
<!-- Link to print or download invoice for order on the Customer Order page. Used by Sufio for Shopify (http://www.sufio.com/shopify). -->
<div class="invoice">
<a target="_blank" href="{{ shop.url }}/apps/sufio/invoice/?id={{ order.id }}&number={{ order.order_number }}">Invoice</a>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment