A hand writing a short note on a small gift card beside a wrapped present box, on a dark green background

How to Add a Gift Message Option to Shopify

By the Dropship Stair team. Last reviewed: November 2026.

Key takeaways

  • How to add a gift message option to Shopify comes down to cart attributes, which are key-value pairs stored on the cart that travel with the order to your packing team.
  • The free route is a small code change in your cart template, while apps add the field without code and can offer a message per item instead of one per order.
  • Set a character limit that matches your printed card, often 150 to 250 characters, and show the message back to the buyer so typos get caught before checkout.
  • Add the message to your packing slip and order confirmation templates, because Shopify stores the note but does not print it for you on its own.

To add a gift message option to Shopify, add a cart attribute field named Gift message to your cart template, so the note travels with the order to your packing team. An app can do the same job without code.

When someone buys a gift, they need somewhere to write a short note, like happy birthday from Alex. Without a dedicated field, that message lands in the order notes, in a follow-up email, or nowhere at all. Then you have to chase the buyer, and the recipient opens a box with no explanation inside. A gift message option fixes that at the moment of purchase, and it also cuts support tickets, because buyers stop emailing after checkout to add a note they forgot.

What is a gift message option on Shopify?

A gift message option on Shopify is a field where the buyer types a short personal note at purchase, and that note is stored with the order so your packing team can print it on a card in the box.

Shopify has no built-in gift message setting in the admin. There is no checkbox that adds a gift message box to your store. Instead, Shopify gives you the pieces to build one: cart attributes, line item properties, and the order note. Each piece stores the message in a different place, and the choice matters for how your team finds it later.

Cart attributes are custom fields attached to the whole order, such as Gift message, Recipient name, and Is this a gift. They appear as separate labeled fields on the order, which makes them far easier to use for packing and printing. Line item properties attach information to one product in the cart, so they fit orders where each item goes to a different person. The order note is a single free-text box for the whole order, and it is the simplest option, but shoppers often use it for delivery instructions instead, so your team ends up reading a mix of notes and messages.

How do you add a gift message option to Shopify with theme code?

To add a gift message option to Shopify with theme code, duplicate your theme first, then add a textarea named attributes[Gift message] inside the cart form in your cart template.

Open the code editor from Online Store, then Themes, then the menu, then Edit code. Find your cart section. In Dawn and most modern themes, that file is sections/main-cart-items.liquid. In older themes it may be sections/cart-template.liquid or templates/cart.liquid. Search the file for the form tag to find the cart form, because the new field must sit inside it. A field outside the form saves nothing, and that is the most common mistake in this setup.

Add a textarea inside the form, near the checkout buttons or below the line items. The key part is the name attribute, which must read attributes[Gift message]. Anything inside attributes and square brackets is saved to the cart as a cart attribute and carried through to the order. Set a maxlength of 200, so long messages cannot break your printed card layout, and add a clear label, like Add a gift message (optional).

Cart attributes update when the form is submitted, but only if the shopper triggers a cart update. On many themes, typing in the box alone will not save it until the buyer clicks Update or moves to checkout. For a smoother experience, add a small script that posts the value to the Cart API whenever the buyer leaves the field, so the message is saved even if the buyer never clicks Update. If you also want a checkbox to hide prices on the packing slip, add a second field with the name attributes[Hide prices] and a value of Yes.

How do you show the gift message on the order and the packing slip?

Show the gift message on the order and the packing slip by opening the order in admin to check the attribute, then adding a Liquid block to your packing slip and order confirmation templates under Settings, then Notifications.

Cart attributes appear on the order automatically. Open any order in Shopify admin and scroll to the Additional details or Notes area, where attributes show as a list of key-value pairs. That is enough for a small store where one person reads every order. It is not enough once orders go to a packing team or a fulfillment partner, because the team works from the packing slip, not the admin screen.

To put the message on the packing slip, go to Settings, then Notifications, and open the Packing slip template. Add a Liquid block where you want the message to appear, with a check that only prints when a message exists, so empty orders stay clean. Do the same in the Order confirmation email, so the buyer sees the note they wrote and can catch a typo or a wrong name before the box ships. Print the message in a larger font on the packing slip if your team handwrites messages onto cards.

How do you add a gift message option to Shopify without code?

To add a gift message option to Shopify without code, install a gift message app from the Shopify App Store, choose where the field appears, and test it on a duplicate theme before you launch.

Apps suit stores that would rather not maintain theme code, or stores that need per-item messages, gift wrapping, or a message field on the product page. Apps also survive theme updates, which hand-coded fields do not. That alone is worth a small monthly fee for many stores, because a theme update that wipes your gift field will cost you orders before anyone notices.

Several app types cover this job. Gift Wrap Plus adds a gift wrap option to the cart or product page, handles the extra charge, and includes a gift message field. Wrapped focuses on the gift message experience and lets customers add messages per item in multi-item orders. GiftKart covers gift wrapping, gift messages, gift cards, and a gift registry in one app. Product options apps such as Easify Product Options or Hulk Product Options add the message as a line item property, so each product in the cart can carry its own note.

When you compare apps, check five things. First, where the field appears: cart page, cart drawer, product page, or checkout. Second, whether messages are per cart or per item, because that is the single biggest functional difference. Third, whether the app edits your theme files, since apps that inject code can clash with your setup. Fourth, what the free plan limits, because many free apps cap orders per month. Fifth, whether the message renders in your emails and packing slip. Install one app at a time and test it on a duplicate theme.

How do you add a gift message option to Shopify with the order note?

To add a gift message option to Shopify with the order note, turn on the cart note in your theme editor, label it clearly for gift messages, and read it on each order before packing.

Most themes can show a cart note field, and it appears on the order in the admin. It is free and simple, and it is the fastest way to test whether your buyers even want a gift message. Turn it on in the theme editor on the cart template, and change the label so buyers know what it is for, like Add a gift message or delivery note. A vague label invites delivery instructions, and a clear one invites the note you want.

Method Cost Messages per order Survives theme updates Best for
Cart attributes with theme code Free One per order No Simple stores with one gift per order
Order note Free One mixed note Yes Testing demand for a season
Gift message app Free tier, then paid plans One per order or per item Yes Stores that want no code to maintain
Line item properties Paid app or code One per item Varies Orders with gifts for different people

The table shows the trade-off plainly. Cart attributes are free and clean, but they give one message per order and need reapplying after theme updates. The order note is free and fast, but it mixes messages with delivery notes. Apps cost money and survive updates, and they are the only simple route to a message per item.

Frequently asked questions

Does Shopify have a built-in gift message option?

No, Shopify has no built-in gift message setting in the admin. You add the option with cart attributes in your theme code, with the order note, or with a gift message app from the Shopify App Store. Cart attributes are the most common free route for one message per order.

Where does the gift message appear on the order?

Cart attributes appear on the order in Shopify admin under Additional details or Notes, as key-value pairs. They do not print on the packing slip on their own, so you must add a Liquid block to your packing slip and order confirmation templates to show the message there.

Can customers add a different gift message for each item?

Not with cart attributes, because those apply to the whole order. For per-item messages, use a product options app that saves the message as a line item property, or ask customers to place separate orders for gifts going to different people.

How long should a gift message be?

Keep gift messages short, with a limit of 150 to 250 characters, so the note fits on a printed card without being cut off. Show the limit to the buyer while they type, and warn them if your printer cannot render emoji, so the card prints cleanly.

Will a gift message survive a theme update?

No, theme code edits are wiped out when you update the theme, so you must reapply the gift message field after each update. Apps survive theme updates, which is one reason stores switch to an app once gift orders grow past a handful each week.

Adding a gift message option to Shopify takes about twenty minutes with theme code, or less with an app, and it removes a recurring support headache for anyone selling gifts. Use cart attributes for a single message per order, and switch to a product options app if you need per-item notes. Test with a real order before you launch, and check your packing slip template, because that is where the field earns its keep. If you want a store built to handle gift buyers from day one, see our pre-built Shopify store options, read our guide on how to start Shopify dropshipping for beginners, or browse the blog for more Shopify setup guides.

Sources: ShopStack Guides, How to Add a Gift Message Field to Shopify Cart. App names and cart attribute behavior were checked against Shopify App Store listings and theme documentation in November 2026.

Share the post

Scroll to Top