Shopify themes, liquid, logos, and UX
Hi, we are about to ship our first order but noticed the Packing Slip spells out our business name but we want our logo in that space consistently how it is throughout the rest of the shopping experience. How is this done? Thanks in advance!
Hi, @GroveandBaker!
I'm Miles from the Social Care team at Shopify. Congratulations on your first post!
Packing slips are created using Liquid, which is Shopify's coding language. You don't have to be a coding expert to be able to add a logo, but there is some coding required. I'll walk you through this now.
First, upload your logo in Settings > Files. Once the logo is uploaded, take note of the URL for the file and copy it.
Adding a Logo to Replace Your Store Name
{{ shop.name }}
in the code and delete it.<img src="PASTE FILE URL HERE" style="width: 60px; height: 60px;">
Select "Preview Template" and if you're happy with your changes, click "Save".Adding a Logo Above Your Store Name
<div class="shop-title">
<p class="to-uppercase">
<img src="PASTE FILE URL HERE" style="width: 60px; height: 60px;">
<br>
Select "Preview Template" and if you're happy with your changes, click "Save".If you do get stuck, we also have a guide to help you edit your packing slips. This will take you through editing the address, product images and more. You'll also find further instructions for other placements of your logo, other than the 2 I've listed above.
Once you've made the changes, check out some of the other customizations you can do. You can customize your customer notifications, such as order confirmations, shipping updates and so much more. Check out our guide on editing Notifications here.
Thanks again for the question. Have a great day!
Miles | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hello! I tried this solution by following the help article, and my logo is smushed when I add it to the code. I've tried all different sizing and nothing seems to change it.
I'm looking for this solution also! No matter how much I render the logo in photoshop it always ends up being squished in the left corner.
oh my goodness, thank you! you do not know how long it took me to find this and it worked!
Thanks for letting me know about the logo sizing issues you're having with your packing slips. Are you able to confirm if you're using the built-in packing slips similar to the post above? If so, aside from the basic coding we can provide, you may need some more expert coding help to add a line of coding in to adjust the sizing of your logos. You can do this in many ways. The safest way would be to check out our Shopify Experts who may be able to help out with the coding required. If this is not in your budget, there are other potential solutions you could try.
Apps
Apps like Order Printer are available for download in the Shopify App Store for your packing slip and invoice needs. I've recommended a couple below that may be able to help and have a focus on easy personalisation.
Third-Party Articles
I've found a couple of great articles for you which go into detail around coding for logo size. I share this with a warning that these are third-party solutions and are not supported by Shopify. We'll be unable to fix issues caused by coding from these articles. You can find the articles here and here.
If you need support beyond this, please feel free to contact Shopify Support, or reply to this thread and I'll be happy to help out.
Miles | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Have you tried changing the number "60" in the code for width & height? I did and just kept checking the size in preview until I saw the size I wanted.
<img src="PASTE FILE URL HERE" style="width: 60px; height: 60px;">
<br>
I just did this and it worked! Definitely need to change the width and height. Thank you.
Milses - excuse me for saying but this is ridiculous - we should not have to do this level of coding to add a logo to a packing slip - why doesn't it pick up the logo the same way it picks up the logo for emails?
totally agree...seems odd for a company this advanced....
i followed the directions, but nothing happens once i preview or save. besides the name of my shop completely disappearing from the packing slip
It should look something like this:
<img src="{{'logo.png' | asset_url }}" style="width: 60px; height: auto;">
worked perfect for me. Agree with those who don't know how to code, there should be an option to upload the shop logo where the shop name and details etc. are, so you can just output it with {{ shop.logo }}. Would be nice for those who don't code.
Worked for us but it shouldn't need customization to have a logo automatically printed. This should be a no brainer to have it done already, especially with all of this feedback.
Thank you!!!! This worked!!!! Even Shopify support was unable to help me when I called with this "smushed logo" issue!
Set either height or width to ''auto'' and keep the other value. Might fix it?
If you don't specify the width and the height parameters, it should display the image in its original size, so you can just upload the exact size you want without having to specify its dimensions in the HTML.
<img src="PASTE FILE URL HERE">
What if the logo is too big ? How can I make it smaller ?
Please not that I have tried all the steps above
You'll either have to resize the logo in Photoshop or your favorite photo editing software, or specify the size you want in the html example above. If the file isn't square, it will look squished if you set the width and height to be square. The width and height should be the same dimensions as the image. I think that's the part that gets a few people.
Thank you for the reply on this. Do you know what world be the apropiate logo size for an standard packing slip? What size hace you use ? THANKS!
User | RANK |
---|---|
223 | |
150 | |
63 | |
49 | |
45 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023