Mini:Customization Fields
  • β˜€οΈWelcome to Mini: Custom Fields
  • πŸ‘¨β€πŸ³Guide
  • πŸ‘€FAQ
  • πŸŽ₯Use Cases
  • πŸ”’Privacy Policy
  • Beginner's Guide
    • 1️⃣Create your first field
    • 2️⃣Enable the app on your theme [MANDATORY]
    • πŸ†˜SOS "Help Needed! I cannot see the field in my product page"
  • πŸ†˜SOS! I got "can't find variant" error
  • How to...
    • βœ…How to understand if the field works properly?
  • πŸ”ŽHow to find the custom fields in the order?
  • βš™οΈHow to set a conditional logic?
  • πŸ’°How to charge extra fee when a field is being utilized by customer?
  • πŸ•ΈοΈHow to hide add-on products from Shopify search?
  • 🌈How to change the placement of the fields?
  • βœ‰οΈHow to add fields to packing slip template?
  • πŸ›οΈHow to show custom fields on confirmation email to CUSTOMER?
  • πŸ‘·How to add fields on new order notification emails to STAFF?
  • 🚒How to add custom fields to fulfillment email notification?
  • ⬆️How to add custom fields to shipping update email notification?
  • πŸ“¦How to add custom fields to out for delivery email notification?
  • πŸ›¬How to add custom fields to delivered email notification?
  • 🎨How to use custom css section in the app?
  • πŸ–ΌοΈHow to write your more specific css on fields?
  • USE CASES
  • πŸ’―Creating multiple fields on the same product
  • πŸ“”Custom Notebook
  • πŸ’ΈExtra Charge via Add-On
  • Still need help!
    • πŸŸ₯Contact US!
  • Recommended Apps
    • Hey! Low Stock Counter
    • Mini: Restock & Waitlist
Powered by GitBook
On this page

How to add custom fields to fulfillment email notification?

Edit the email notification template with this code snippet below.

<p>Hi {{ service_name }},</p>
<br>
<p>Please fulfill order {{ name }}.</p>
<p>Total number of items: {{ fulfillment.item_count }}</p>
<p>Unique items: {{ fulfillment.fulfillment_line_items.size }}</p>
<br>
<p><strong>Items to fulfill:</strong></p>

{% for line in fulfillment.fulfillment_line_items %}
  <p><strong>Item #{{ forloop.index }}:</strong></p>
  <p>Variant Title: {{ line.line_item.title }}</p>
  <p>SKU: {{ line.line_item.sku }}</p>
  <p>Quantity: {{ line.quantity }}</p>
  <p>Grams: {{ line.line_item.grams }}</p>
  <p>Vendor: {{ line.line_item.vendor }}</p>
  
  {% comment %}Added section for line item properties{% endcomment %}
  {% for property in line.line_item.properties %}
    {% assign property_first_char = property.first | slice: 0 %}
    {% if property.last != blank and property_first_char != '_' %}
      <p class="line-item-property">
        {{ property.first }}: {{ property.last }}
      </p>
    {% endif %}
  {% endfor %}
  
  <br>
{% endfor %}
{% if shipping_address %}
<br>
<p><strong>Shipping Address:</strong></p>
<p>{{ shipping_address.name }}{% if shipping_address.company %}
  {{ shipping_address.company }}{% endif %}</p>
<p>{{ shipping_address.address1 }}</p>
<p>{{ shipping_address.address2 }}</p>
<p>{{ shipping_address.city }}, {{ shipping_address.province }}</p>
<p>{{ shipping_address.zip }}</p>
<p>{{ shipping_address.country }}</p>
{% if shipping_address.phone %}<p>Phone: {{ shipping_address.phone }}</p>{% endif %}
{% endif %}
<br>
<p><strong>Shipping Method:</strong></p>
<p>{% if shipping_method %}{{ shipping_method.title }}{% else %}None{% endif %}</p>
<br>
<p><strong>Tracking Number:</strong></p>
<p>{% if fulfillment.tracking_number %}{{ fulfillment.tracking_number }}{% else %}None{% endif %}</p>
<br>
<p><strong>Customer Email:</strong></p>
<p>{{ email }}</p>
<br>
<p>Thank you,</p>
<p>{{ shop_name }}</p>

PreviousHow to add fields on new order notification emails to STAFF?NextHow to add custom fields to shipping update email notification?

Last updated 11 days ago

🚒