βœ‰οΈHow to add fields to packing slip template?

You can customize the packing slip template so that it can include the fields in there.

Please go to settings -> Shipping and delivery -> edit packing slip template. And the copy and paste this code snippet just below the { % endif %} tag of {{line_item.sku}}

You can press command+ F (ctrl+F) to search for line_item.sku to find the location easily.

//this is the code snippet for adding the inputs from customer to packing slip

{% for property in line_item.properties %}
        {% assign property_first_char = property.first | slice: 0 %}
        {% if property.last != blank and property_first_char != '_' %}
                <span class="line-item-description-line">
                {{ property.first }}: {{ property.last }}
                </span>
        {% endif %}
{% endfor %}

Last updated