Show Avis Options on Packing Slips
Step 1: Access Packing Slip Template
Navigate to Settings > Shipping and delivery > (Packing Slip) Edit template
Step 2: Add custom code to Packing Slip template
Place your cursor in the HTML body of the template use the shortcut Ctrl + F (Command + F on Mac) to open the search function.
Search for “{{ line_item.title }}” or “line_item.title” in the existing code.
After locating the tag </span>
paste the following code
{% unless line_item.properties == empty %}
<ul>
{% for property in line_item.properties %}
{% if property.first contains '_apo' %}{% continue %}{% endif; %}
<li>{{ property.first }}: {{ property.last }}</li>
{% endfor %}
</ul>
{% endunless %}

Step 3 : Save changes
Click on the “Save” button to apply the changes to the template.
Wait for approximately 30 seconds for the changes to take effect.
Last updated