How do I add a shipping method to my packing slip in Debut theme?

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?

1 Like

Hi @kristenmillican

Can you provide entire code?

Ship 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 }} {% else %} No shipping address {% endif %}

{{customer.email}}

Note: {{order.note}}

Ship Via: {{ shipping_method.title }}

Try this

{% for shipping_method in order.shipping_methods %}
    <p> Ship Via: {{ shipping_method.title }} </p>
{% endfor%}

That didn’t work. Do I need to put it in a certain class? Or should it be in a different section of the packing slip code?

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?

1 Like

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 :slightly_smiling_face:

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.

Adding the code below to our packing slip template worked for us! Give it a go. Hoping this is helpful.



Shipping Method

{% if order.shipping_method != blank %} {{ order.shipping_method.title }} {% else %} No shipping required {% endif %}

17 Likes

This method worked perfectly.

Thank you very much for the fix.

This worked perfectly. Thank you

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.

1 Like

Thank you. That worked.

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%}

Shipping Method: {{ order.shipping_method.title }}

"
1 Like

This worked for me too, thanks!

Thank you! The variable {{ order.shipping_method.title }} works perfectly

2 Likes

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.

1 Like

Hi all! I have found the solution that worked for me:


Ship Via: {{ order.shipping_method.title }}

Just have to add “order” before shipping_method, no need to loop through all shipping methods.

9 Likes