Skip to content

Instantly share code, notes, and snippets.

@nord
Last active March 4, 2016 17:42
Show Gist options
  • Save nord/c65e7957d6863c92dd7a to your computer and use it in GitHub Desktop.
Save nord/c65e7957d6863c92dd7a to your computer and use it in GitHub Desktop.
Code snippet for adding links to invoices to the Recent Orders table on the Customer Account page (customers/account.liquid) in Shopify. Used by Sufio for Shopify app (http://sufio.com/shopify).
<!-- Link to print or download invoice for order on the Customer Account page. Used by Sufio for Shopify (http://www.sufio.com/shopify). -->
<td>
<span class="invoice">
<a target="_blank" href="{{ shop.url }}/apps/sufio/invoice/?id={{ order.id }}&number={{ order.order_number }}">Invoice</a>
</span>
</td>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment