Shopify themes, liquid, logos, and UX
I'm trying to add the Shipping Method to my packing slip but it isn't working. This is the code I used.
{{ shipping_method.title }}
I'm using the Debut theme. Any suggestions?
Try this
{% for shipping_method in order.shipping_methods %} <p> Ship Via: {{ shipping_method.title }} </p> {% endfor%}
Hello @kristenmillican
https://help.shopify.com/en/manual/orders/packing-slips-variable-list#store-variables
As per the variables mentioned above, there is no way to show shipping method title in packing slip but you can use ajax method to achieve this.
Please let me know if you need any further assistance or you can mail me at "support@psdwebdesigns.com".
Shopify is supposed to be drop ship friendly. If you can not put shipping method on the packslip how is the drop shipper supposed to know what method was chosen? Are you saying we can only give 1 shipping option for drop shipped products?
So was any resolution given for this?
Interesting. I was told via chat that this was supported which it clearly is not.
Kate M (Shopify)
Oct 20, 2020, 16:26 EDT
Hi again, Paul,
You can definitely customise your packing slip template - you would find it in Settings > Shipping > 'Packing slips' > Edit Template
Keep a copy of the current template, and then just test out adding the shipping method tag in different spots until you're happy with it. The shipping method tag you're after is the last entry on this page: shipping_method.title
Otherwise you can use a template generating app from the App Store or reach out to a Shopify Expert for help with that.
Let me know if you have any further questions 🙂
All the best,
Kate | Shopify Support Advisor
Did you manage to get a resolution to this? I still cannot get it to add and i desperately need to have it on my packing slip.
Hi all! I have found the solution that worked for me:
<p>Ship Via: {{ order.shipping_method.title }}</p>
Just have to add "order" before shipping_method, no need to loop through all shipping methods.
Thank you!
This method worked perfectly.
Thank you very much for the fix.
Worked for us too.... extremely helpful.
Wonder why the standard template doesn't easily allow things like this. Should be in the Shopify examples!
Thank you.
Thank you. That worked.
This worked for me too, thanks!
Thank you! The variable {{ order.shipping_method.title }} works perfectly
Interestingly it seems that once a packing slip is generated, it's static, so changes to the code don't get reflected on a packing slip unless you pick a different one every time to test what changes look like (apart from the Preview function in the editor)... This caused a few gray hairs until we clued in.
Very Handy! Well done! Infinitely better than the Shopify answer in that it actually works!! Bravo! Should be pinned to page 1!
Hello,
Thank you for this; very useful!
I was wondering if you have the same thing but with centred text?
I believe (but haven't tested) that you can put <center> </center> tags around the text that you want to center. There's probably a nicer CSS way too but don't know it.
Worked like a charm, thank you!
This works! Thanks!
Frustrating that Shopify doesn't document {{ order.shipping_method.title }} on https://help.shopify.com/en/manual/shipping/setting-up-and-managing-your-shipping/packing-slips-vari... and we have to search the forums for solutions like this. 😐
It is working! How can I change the fonts to Arial or smilar?
I came across this trying to solve for myself and I discovered the answer.
You need to identify that it's from the order.
"{% for shipping_method in order.shipping_methods %}
{% endfor%}
<div>
<p><b>Shipping Method:</b> {{ order.shipping_method.title }}</p>
</div>"
Hi where do you put the code I have tried its not working for me!
Here is a chunk of our code, the interesting stuff is near the end (order.shipping_method.title) and the Pick-Up bit:
<div class="customer-addresses">
<div class="shipping-address">
<p class="subtitle-bold to-uppercase">
{% if delivery_method.instructions != blank %}
Delivery to
{% else %}
Ship to
{% endif %}
</p>
<p class="address-detail">
{% if shipping_address != blank %}
{{ shipping_address.name }}
{% if shipping_address.company != blank %}
<br>
{{ shipping_address.company }}
{% endif %}
<br>
{{ shipping_address.address1 }}
{% if shipping_address.address2 != blank %}
<br>
{{ shipping_address.address2 }}
{% endif %}
{% if shipping_address.city_province_zip != blank %}
<br>
{{ shipping_address.city_province_zip }}
{% endif %}
<br>
{{ shipping_address.country }}
{% if shipping_address.phone != blank %}
<br>
{{ shipping_address.phone }}
{% endif %}
{% else %}
No shipping address
{% endif %}
<br>Shipping Service:
{% if order.shipping_method.title != '<YOUR COMPANY NAME - CHANGE ME>' %}
{{ order.shipping_method.title }}
{% else %}
Pick Up
{% endif %}
</p>
</div>
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025