fulfillment - aareano/ifshop-wiki GitHub Wiki
This drop is corresponds to Shopify's.
fulfillment.fulfillment_events
fulfillment.order
none
missing Shopify email properties
The following properties are available in Shopify's email templates, but are not (yet) available in ifshop's email templates.
fulfillment.service_name
fulfillment.tracking_numbers
fulfillment.tracking_urls
fulfillment.requires_shipping
-
fulfillment.items_to_fulfill
(deprecated) -
items_to_fulfill_count
(deprecated)
- fulfillment.fulfillment_events
- fulfillment.fulfillment_line_items
- fulfillment.item_count
- fulfillment.order
- fulfillment.tracking_company
- fulfillment.tracking_number
- fulfillment.tracking_url
Returns an array of fulfillment events that have happened to the fulfillment.
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
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.
Returns the order that the fulfillment is for.
Returns the name of the fulfillment service.
Returns a fulfillment's tracking number, if it exists.
Input
Tracking Number: {{ fulfillment.tracking_number }}
Output
Tracking Number: 1Z5F44813600X02768
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