Files
liquid/_posts/objects/fulfillment.md
2014-07-23 11:17:11 -04:00

1.6 KiB

layout, title, nav
layout title nav
default fulfillment
group
Liquid Variables

fulfillment

The fulfillment object has the following attributes:

{% table_of_contents %}

{% comment %} Commenting out as this doesn't actually work.

{% anchor_link "fulfillment.created_at", "fulfillment.created_at" %}

Returns the date the fulfillment was created at.

{% highlight html %}{% raw %} Fulfilled {{ line_item.fulfillment.created_at | date: "%b %d" }} {% endraw %}{% endhighlight %}

{% endcomment %}

{% anchor_link "fulfillment.tracking_company", "fulfillment-tracking_company" %}

Returns the name of the fulfillment service.

{% anchor_link "fulfillment.tracking_number", "fulfillment-tracking_number" %}

Returns the tracking number for a fulfillment if it exists.

Input

{% highlight html %}{% raw %} Tracking Number: {{ line_item.fulfillment.tracking_number }} {% endraw %}{% endhighlight %}

Output

{% highlight html %}{% raw %} Tracking Number: 1Z5F44813600X02768 {% endraw %}{% endhighlight %}

{% anchor_link "fulfillment.tracking_url", "fulfillment-tracking_url" %}

Returns the URL for a tracking number.

Input

{% highlight html %}{% raw %} {{ fulfillment.tracking_url }} {% endraw %}{% endhighlight %}

Output