Last active
March 4, 2016 17:42
-
-
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).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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