fulfillment

The fulfillment object has the following attributes:

fulfillment.tracking_company

Returns the name of the fulfillment service.

Input

Tracking Company: {{ fulfillment.tracking_company }}

Output

Tracking Company: Tracktor

fulfillment.tracking_number

Returns a fulfillment's tracking number, if it exists.

Input

Tracking Number: {{ fulfillment.tracking_number }}

Output

Tracking Number: 1Z5F44813600X02768

fulfillment.tracking_url

Returns the URL for a tracking number.

Input

{{ fulfillment.tracking_url }}

Output

http://wwwapps.ups.com/etracking/tracking.cgi?InquiryNumber1=1Z5F44813600X02768&TypeOfInquiryNumber=T&AcceptUPSLicenseAgreement=yes&submit=Track

fulfillment.fulfillment_line_items

Returns an array of all line items and their quantity included in the fulfillment. Any line items that have already been fulfilled, or are yet to be fulfilled, will not be included in the array.

Input

We have fulfilled the following items:
<ul>
{% for line in fulfillment.fulfillment_line_items %}
  <li>{{ line.line_item.title }} x {{ line.quantity }}</li>
{% endfor %}
</ul>

Output

We have fulfilled the following items:
* T-shirt - White / Medium x 8
* Adorable boots x 1

fulfillment.item_count

Returns the total number of items included in the fulfillment.

Input

We have fulfilled {{ fulfillment.item_count }} items of your recent order.

Output

We have fulfilled 9 items of your recent order.

Want to discuss this page?

Visit the Shopify Community