Skip to content

Instantly share code, notes, and snippets.

@zakhardage
Last active February 23, 2022 02:47
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 zakhardage/7a3fcf6b7cd2cf5e303447713b3d2434 to your computer and use it in GitHub Desktop.
Save zakhardage/7a3fcf6b7cd2cf5e303447713b3d2434 to your computer and use it in GitHub Desktop.
// change line 21 from
<th>Item</th>
// to
<th>SKU</th>
<th>Item</th>
// change line 30 from
{% for line_item in line_items %}
// to
{% assign line_items_by_sku = line_items | sort:'sku' %}
{% for line_item in line_items_by_sku %}
// change line 33 from
<td><b>{{ line_item.title }}</b></td>
// to
<td>{{ line_item.sku }}</td>
<td><b>{{ line_item.title }}</b></td>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment