How to Add a Gift Message to Shopify Order Printer Without an App
How to Add a Gift Message to Shopify Order Printer Without an App
Shopify's free Order Printer app prints packing slips and invoices, but it has no built-in field for gift messages. If you sell gifts, that means customer notes sit in the order record while your packers guess which orders need a handwritten card. This guide shows you how to pull the gift message into your packing slip template using Shopify's Liquid variables and a single line of code — no paid app, no monthly fee. The whole process takes about 20 minutes and requires no coding beyond copy-paste.
Why Use Shopify Order Printer Instead of a Paid Gift Message App
Gift message apps typically charge a monthly subscription and often add a widget or block to your theme. For a small store, that's a recurring cost for a feature you can implement once for free.
Order Printer is Shopify's own free app, available in the Shopify App Store. It uses Liquid — the same templating language as your theme — so you can edit the packing slip template directly and print any order data Shopify stores, including the "Note" field and line item properties.
The trade-off is flexibility versus control. An app gives you a polished checkout widget in minutes. Order Printer gives you a plain-text gift message field at checkout plus full control over how it appears on the printed slip. If your volume is low and your packers work from printed slips, the free route is usually enough.
Step 1: Capture the Gift Message at Checkout
Order Printer can only print data that exists on the order. You need a place for customers to type a gift message. There are two free options:
- Order notes. Enable "Cart notes" in your theme editor (Online Store → Themes → Customize → Cart page → Cart note). Customers see a text box on the cart page. The catch: the note field is generic, so label it clearly — "Add a gift message (leave blank if not a gift)" — and make the gift message itself easy to spot.
- Line item properties. In the product template, add a text input with a
properties[Gift Message]name. This attaches the message to the specific line item, which is better when an order contains both gift and non-gift items.
For most stores, cart notes are faster to set up. Line item properties are more precise. Either way, test the field yourself before going live: add an item, type a message, and check the order in Shopify admin to confirm the text saved.
Step 2: Find and Back Up Your Order Printer Template
Open the Order Printer app from your Shopify admin (Apps → Order Printer). Go to Templates and select the packing slip template you use — usually "Packing Slip" or a custom copy. You'll see the Liquid/HTML code.
Before you change anything, copy the entire template and paste it into a text file on your computer. Name it with the date. If a later edit breaks the layout, you can restore the original in seconds.
Find the section of the template where order details print — often near the line items table or the order notes block. That's where the gift message will go.
Step 3: Add the Gift Message Code to Your Packing Slip Template
Shopify exposes order notes through the note variable in Order Printer templates. Add this block where you want the message to appear, typically after the line items table:
{% if note != blank %}
<div style="margin-top: 20px; padding: 10px; border: 1px solid #000;">
<strong>Gift Message:</strong>
<p>{{ note }}</p>
</div>
{% endif %}
The {% if note != blank %} check means the box only prints when a message exists, so regular orders stay clean.
If you captured the message as a line item property instead, loop through the line items and print the property:
{% for line_item in line_items %}
{% for property in line_item.properties %}
{% if property.first == "Gift Message" %}
<div><strong>Gift Message:</strong> {{ property.last }}</div>
{% endif %}
{% endfor %}
{% endfor %}
Adjust the property name to match exactly what you used at checkout — Liquid matches it as a string. Save the template and print a preview from the app.
| Capture method | Liquid variable | Best for |
|---|---|---|
| Cart note | {{ note }} |
Simple stores, one message per order |
| Line item property | line_item.properties loop |
Mixed gift/non-gift orders, per-item messages |
Step 4: Test the Gift Message on a Real Order
Place a test order through your storefront — not a draft order, since draft orders behave differently with notes. Add a gift message, complete checkout, then open Order Printer and print that order's packing slip.
Check three things:
- The message appears in the right spot and is fully readable.
- An order without a message prints no empty box.
- Long messages wrap instead of overflowing the page. If they don't, add
word-wrap: break-word;to the div's style.
Print to PDF first rather than paper. Once the PDF looks right, you're done.
Step 5: Handle Gift Messages on Order Confirmation Emails and Invoices
Order Printer handles printed slips, but customers also see the order confirmation email and any invoice you send. Shopify's notification templates are separate from Order Printer, so the gift message won't appear there automatically.
To add it to the confirmation email, go to Settings → Notifications → Order confirmation and insert {{ note }} inside a conditional block, the same way you did in the template. For invoices printed through Order Printer, you'll need to add the same code block to the invoice template separately — templates don't share code.
If you use Shopify Email or a third-party email tool for order updates, check whether it supports the order note as a merge field before promising customers a printed confirmation of their message.
Common Issues and How to Fix Them
The message prints as blank. The order may have been created before you enabled cart notes, or the customer typed into a different field. Check the order in admin: the message appears under "Notes" on the order page if it saved correctly.
HTML tags show up as text. Shopify strips most HTML from notes, but if you see stray characters, wrap the output in {{ note | escape }} to render it as plain text.
The box prints on every order. Your {% if %} condition is missing or the variable name is wrong. Confirm it reads note and not order.note — Order Printer templates use the short form.
Line item properties don't match. Property names are case-sensitive. Compare the exact label in your product template with the string in your Liquid if statement.
The layout breaks after editing. Restore your backup from Step 2, then re-add the code in smaller pieces to find the error. A missing {% endif %} is the usual culprit.
When an App Is Actually Worth It
Stick with the free method unless one of these applies:
- You need structured gift options — gift wrap selection, multiple card designs, scheduled delivery dates — not just a text field.
- You want the gift message to trigger automatically in emails, SMS, and fulfillment workflows without editing each template.
- You process enough orders that manually checking notes for gift flags creates errors.
In those cases, look at apps like Gift Note or similar gift message tools in the Shopify App Store. Check current pricing and trial terms on each listing, and confirm the app supports your theme and Order Printer before installing.
Conclusion
Adding a gift message to Shopify Order Printer takes one Liquid conditional and a checkout field you can enable for free. Capture the message at checkout, back up your template, insert the code, and test with a real order before relying on it. For most small stores, that's all you need.
FAQ
Does Order Printer support gift messages natively? No. Order Printer prints whatever data exists on the order, including the note field, but you have to add the Liquid code to display it.
Will the gift message appear on the customer's order confirmation email automatically?
No. Notification templates are separate from Order Printer. Add {{ note }} to the order confirmation template in Settings → Notifications if you want it included.
Can I use this method with multiple gift messages per order? Only if you capture messages as line item properties. Cart notes hold a single block of text per order, while line item properties let each item carry its own message.