Hi all,
I have been editing my packing slip for the past week to suit my needs and stumble upon few issues that I couldn’t find how to do, would it possible for someone to show me the way? Basically I am not a programmer and found my way from searching the forums, but couldn’t seem to find the answer for my problems:
-
How to add line separating each products in the packing slip when I have more than 1 product.
-
How to shorten the spacing for all the lines (from the header to footer) as to maximize space.
Please find below the code that I have currently adjust for my packing slip:

Order {{ order.name }}
{{ order.created_at | date: "%B %e, %Y" }}
Shipping Method
{% if order.shipping_method != blank %}
{{ order.shipping_method.title }}
{% else %}
No shipping required
{% endif %}
Shipping to
{% if shipping_address != blank %}
{{ shipping_address.name }}
{% if shipping_address.company != blank %}
{{ shipping_address.company }}
{% endif %}
{{ shipping_address.address1 }}
{% if shipping_address.address2 != blank %}
{{ shipping_address.address2 }}
{% endif %}
{% if shipping_address.city_province_zip != blank %}
{{ shipping_address.city_province_zip }}
{% endif %}
{{ shipping_address.country }}
{{ shipping_address.phone }}
{% else %}
No shipping address
{% endif %}
---
Items
Quantity
{% for line_item in line_items_in_shipment %}
- **{{ line_item.title }}**
{% if line_item.variant_title != blank %}
{{ line_item.variant_title }}
{% if line_item.sku != blank %}
•
{{ line_item.sku }}
{% endif %}
{% elsif line_item.sku != blank %}
{% endif %}
{{ line_item.shipping_quantity }} pcs
{% endfor %}
{% unless includes_all_line_items_in_order %}
---
There are other items from your order not included in this shipment.
{% endunless %}
---
{% if order.note != blank %}
Notes
{{ order.note }}
{% endif %}
Thank you for shopping with us!
<strong>
{{ shop.name }}
</strong>
{{ shop.email }}
+62 877-4636-7879
{{ shop.domain }}
Thank you and will appreciate any feedbacks.
Regards,
Gerry

