Articles on: Frequently Asked Questions

How to show options in Shopify packing slip?

You can customize the template of your packing slips to display custom order details. Changing the template allows you to add your own branding and change the look and feel of the packing slip with enhanced product details.

Step 1: From you Shopify admin, go to Settings > Shipping and delivery





Step 2: In the Packing slips section > Go to Packing slip template > Click Edit.



Step 3: Find the line that contains the following code: {{ line_item.title }}



Step 4: After the closing </span> tag for <span class="line-item-description-line"> surrounding the above code, paste the following code after the code block for the product title:

{%- 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 }}:{%- if property.last contains '/uploads/' -%}{{ property.last | split: '/' | last }}{%- else -%}{{ property.last }}{%- endif -%}
              </span>
              {%- endif -%}
              {%- endfor -%}


It should look like this after pasting the code:


Step 5: Click Save

Updated on: 12/01/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!