The fulfillment object has the following attributes:
Note: In VersaCommerce the values come from the shipments of the order.
fulfillment.created_at
Returns the date the fulfillment was created.
Fulfilled {{ line_item.fulfillment.created_at | date: "%b %d" }}
fulfillment.fulfillmentlineitems
Returns an array of all line items in the fulfillment with their quantity. Line items that were already fulfilled before, or are still to be fulfilled, are not included.
We have fulfilled the following products:
<ul>
{% for line in fulfillment.fulfillment_line_items %}
<li>{{ line.line_item.title }} x {{ line.quantity }}</li>
{% endfor %}
</ul>
We have fulfilled the following products:
* T-shirt - White / M x 8
* Adorable boots x 1
fulfillment.item_count
Returns the total number of items in the fulfillment.
We have fulfilled {{ fulfillment.item_count }} products of your recent order.
We have fulfilled 9 products of your recent order.
fulfillment.tracking_company
Returns the name of the shipping carrier.
Tracking Company: {{ fulfillment.tracking_company }}
Tracking Company: Tracktor
fulfillment.tracking_number
Returns the tracking number of a fulfillment, if it exists.
Tracking Number: {{ fulfillment.tracking_number }}
Tracking Number: 1Z5F44813600X02768
fulfillment.tracking_url
Returns the URL for a tracking number.
{{ fulfillment.tracking_url }}
http://wwwapps.ups.com/etracking/tracking.cgi?InquiryNumber1=1Z5F44813600X02768&TypeOfInquiryNumber=T&AcceptUPSLicenseAgreement=yes&submit=Track
More properties
VersaCommerce also provides these properties on the fulfillment object:
| Properties | Returns |
|---|---|
tracking_numbers, fulfillment_items |
Tracking number list and fulfillment rows; availability depends on supplied rows |