fulfillment - aareano/ifshop-wiki GitHub Wiki

This drop is corresponds to Shopify's.

additional properties

  • fulfillment.fulfillment_events
  • fulfillment.order

missing properties

none

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

Returns an array of fulfillment events that have happened to the fulfillment.


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.

fulfillment.order

Returns the order that the fulfillment is for.


fulfillment.tracking_company

Returns the name of the fulfillment service.


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
⚠️ **GitHub.com Fallback** ⚠️