Skip to main content

Customizations

Comments

1 comment

  • Jacob

    For anyone looking to customize the packing slip with line item properties AND remove the junk line items that start with "_", here is a code snippet that I was able to put together:

          {% for p in line_item.properties %}
            {% assign first_character_in_key = p.first | truncate: 1, '' %}
            {% unless p.last == blank or first_character_in_key == '_' %}
              <li>{{ p.last }}</li>
            {%- endunless -%}
          {% endfor %}
    0

Please sign in to leave a comment.