Skip to content

Instantly share code, notes, and snippets.

@DanWebb
Created August 25, 2015 06:44
Show Gist options
  • Save DanWebb/b5544777a51e7b925002 to your computer and use it in GitHub Desktop.
Save DanWebb/b5544777a51e7b925002 to your computer and use it in GitHub Desktop.
Get the fulfillment status of an individual line_item (rather than order)
{% assign fulfillment_status = 'unfulfilled' %}
{% if line_item.fulfillment.tracking_company > '' %}
{% assign fulfillment_status = 'fulfilled' %}
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment