Shopify sections
Gift wrap as a cart line, the gift message on the order
Shopify gift wrap is usually built from two parts: a wrap product the shopper adds in the cart, and a gift message stored on the order. The Gift Wrap & Message section in Section Store puts both on the cart page template, with up to 3 wrap products, To and From fields, a message and a packing-slip choice. It is not built for a cart drawer. You buy it once as a single section, or it comes with the Enterprise plan.
- Message length: adjustable from 50 to 500 characters, 250 by default
- Layouts: Card, Wrap styles or Minimal
- The message goes to an order attribute or to the order note
Last checked:

When to use it
It fits paid wrapping with a message for the packer, not drawer-only carts
Use it when
- You charge for wrappingThe wrap is a product you create, so it reaches the order as an ordinary line with its own price. With One gift wrap per order switched on, the line stays at quantity 1 and one style.
- The packer needs the messageTo, From and the message are written under named order attributes, so they travel with the order itself. Set Maximum message length to what fits on the card you print.
- Several wrap stylesGive the wrap product variants such as Kraft, Linen and Festive, each with its own image, and the Wrap styles layout shows them as choices with live prices from the product. If paper and box are separate products, pick up to 3 gift-wrap products.
Skip it when
- Checkout starts from a cart drawerThe block sits on the cart page template, so shoppers who go from the drawer straight to checkout never see it. Switch the theme to a cart page if its cart settings offer that, or use a gift option made for your drawer.
- Wrapping is free and always includedA wrap product with no price adds a cart line that tells the shopper nothing. The cart note field from your theme's cart settings collects a short message with less setup.
- Packing slips stay as they areIf the packing-slip template does not print order attributes and nobody will edit it, the message is only visible on the order page and someone copies it by hand. An order-printing app that prints attributes fits that setup better.
In detail
The wrap is a product line, the words are order attributes
Nothing about wrapping appears until you create the wrap product, for example "Gift wrap" at 5.00, kept out of your collections, and select it under Gift-wrap products. With no product selected, shoppers see only the message fields. Ticking the wrap adds that product to the cart, and the panel shows its live price. The wrap is always removed when it is the only item left in the cart, so no order ships wrapping without a gift.
The message field counts characters against the Maximum message length slider. The Packing slip option, labelled "Hide prices on the packing slip" by default, records the shopper's choice under the attribute Gift receipt. It shows up on the slip only if your packing-slip template prints that attribute. After a page reload the panel shows the choices the shopper already made.
Save the message as decides where the text lands. Order attribute keeps four separate fields named Gift message, Gift to, Gift from and Gift receipt; rename them to the labels your fulfilment tool reads. Order note writes into the single note of the order, the same field a theme cart note fills, so do not use both.
Update the cart page after a change decides how the subtotal catches up once the wrap is added. Automatic refreshes the cart in place. If your theme's line list does not update, pick Reload the cart page. Only notify the theme hands the redraw to a theme script that already listens for cart changes.
- Order attributes hold one message, one To and one From per order, not one per item.
- Default output is 42.5 KB, of which 30.1 KB JavaScript and 8.9 KB CSS; the section sends requests to the storefront cart to add, read or change lines.
- Container queries size the panel to its cart column; breakpoints sit at 749 and 1024 px.
Builder settings
Every builder setting of Gift Wrap & Message
Start with Gift-wrap products, Layout and the attribute names under Order details: no product means a message-only panel, Wrap styles needs variants with images, and the names should match what your packing slip prints. You change these in the Section Store builder; in the theme editor the app block has only its section picker, padding, max width and the hide-on-mobile and hide-on-desktop switches.
Gift wrap2
- Gift wrap label
- Text
- DefaultAdd gift wrap
- One gift wrap per orderKeeps the wrap at quantity 1 and one style. The wrap is always removed when it is the only item left in the cart.
- On / off
- DefaultOn
Content4
- Eyebrow
- Text
- DefaultEmpty
- HeadlineThe default texts are translated automatically into the shopper's language.
- Text
- DefaultSending it as a gift?
- Intro
- Text
- DefaultWe wrap it by hand in recycled paper with a cotton ribbon.
- Show gift illustrationConditional
- On / off
- DefaultOn
Message7
- Gift message
- On / off
- DefaultOn
- To and From fieldsConditional
- On / off
- DefaultOn
- Maximum message lengthConditional
- Slider, 50–500 chars
- Default250 chars
- Message labelConditional
- Text
- DefaultGift message
- Message placeholderConditional
- Text
- DefaultWrite a few words, we'll print them on a card
- Packing slip option
- On / off
- DefaultOn
- Packing slip option labelConditional
- Text
- DefaultHide prices on the packing slip
Order details6
- Save the message asConditional
- Choice: Order attribute, Order note
- DefaultOrder attribute
- Attribute name: messageConditional
- Text
- DefaultGift message
- Attribute name: ToConditional
- Text
- DefaultGift to
- Attribute name: FromConditional
- Text
- DefaultGift from
- Attribute name: packing slipConditional
- Text
- DefaultGift receipt
- Update the cart page after a change
- Choice: Automatic (refresh the cart in place), Reload the cart page, Only notify the theme
- DefaultAutomatic (refresh the cart in place)
Layout1
- Layout
- Choice: Card, Wrap styles, Minimal
- DefaultCard
Design6
- Accent ColorSwitches, checkboxes, the selected date and buttons.
- Colour
- Default#1c1b19
- Panel ColorEmpty: a soft tint of the text colour.
- Colour
- DefaultNot set
- Text ColorEmpty: the theme text colour.
- Colour
- DefaultNot set
- Background Color
- Colour
- DefaultNot set
- Corner Radius
- Slider, 0–28 px
- Default12 px
- Max Width
- Slider, 360–1600 px
- Default760 px
Spacing1
- Section Spacing
- Spacing per device
- DefaultTop padding 24 / 24 / 16 px
Repeatable items1
- Gift-wrap products
- List of items, up to 3
- Default0 sample items
28 settings in 8 groups. These are settings in the Section Store builder, not theme editor settings: read from the app's section configuration, as of 2 Dec 2026. "Conditional" settings appear only once a related setting turns them on.
Two ways
A hand-built checkbox is easy until the cart has to stay in sync
Both ways rest on the same Shopify parts: a wrap product in the cart and attributes on the order. What differs is who keeps the cart page, the reload state and the last-item case correct.
Way 1
By hand in the theme code
Untested outline, not a finished listing. Liquid and JavaScript in your cart template, tested in your own theme.
- Create a gift-wrap product, keep it out of collections and leave it available on the online store.
- Add a checkbox to the cart template that calls /cart/add.js with the wrap variant when ticked and /cart/change.js with quantity 0 when unticked.
- Put inputs named attributes[Gift message], and To and From if you want them, inside the cart form.
- Redraw the line list and subtotal after each change with your theme's cart script, or reload the page.
- On page load, read the cart to restore the checkbox and fields, and remove the wrap when it is the only item left.
- Edit the packing-slip template so it prints the attributes.
Choose this if: A developer maintains your theme, or you only need a message box: one attributes input in the cart form is a small edit and needs no app.
Way 2
With the Section Store app
No theme code. Setup happens in the app builder; the theme editor holds one app block with six settings.
- Install Section Store on an Online Store 2.0 theme; the Section Store documentation covers the app block.
- Buy Gift Wrap & Message as a single section or use it under the Enterprise plan.
- Create the wrap product, open the section in the builder, pick the product, choose the layout and attribute names, then save.
- Click Install in theme, confirm the Section Store app block on the cart template shows Gift Wrap & Message, and save the theme.
- If wrapping is seasonal, set a start and end date in the visibility rules.
Choose this if: Your shop checks out from the cart page, wrapping is paid, and nobody on the team writes Liquid or JavaScript.
FAQ
Gift wrap questions merchants ask about Shopify orders
Open Settings > Shipping and delivery > Packing slips and edit the template so it prints the order attributes. Until you do, the message is visible only on the order page under Additional details.
Not with order attributes, which hold one value per name for the whole order. A message per item needs line item properties: inputs inside the product form on the product page, so each cart line carries its own text.
Only if you count wrapping material. With tracking on, stock at zero and overselling off, the wrap can no longer be added to the cart, while the rest of the order still goes through without it.
The wrap is a regular product, so it follows the tax setting on that product in your admin. Check with your accountant whether wrapping counts as taxable where you sell before you change that setting.
Gift Wrap & Message is in Section Store.
Set it up in the app builder and place it through the Section Store app block. No theme code.
Sources
Sources
- Section Store app: builder configuration and generated code of Gift Wrap & Message · as of 2026-12-02
- Section Store on the Shopify App Store · as of 2026-12-02
- Shopify developer documentation: Sections