mirror of
https://github.com/kemko/liquid.git
synced 2026-01-04 17:25:41 +03:00
1.6 KiB
1.6 KiB
layout, title, nav
| layout | title | nav | ||
|---|---|---|---|---|
| default | fulfillment |
|
fulfillment
The fulfillment object has the following attributes:
{% 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
{% highlight html %}{% raw %}
http://wwwapps.ups.com/etracking/tracking.cgi?InquiryNumber1=1Z5F44813600X02768&TypeOfInquiryNumber=T&AcceptUPSLicenseAgreement=yes&submit=Track
{% endraw %}{% endhighlight %}