Atelier can add an **Add gift wrapping** checkbox to the cart drawer and cart page. When a shopper ticks it, a gift wrap product you've created is added to their bag, and they can write a gift message that's saved with the order. Unticking it removes the gift wrap and clears the message.

![Cart summary with Add gift wrapping ticked at $8.00 and a gift message typed into the box below](../_images/gift-wrap-cart-message.jpg)

## Step 1: Create the gift wrap product

1. In Shopify admin, go to **Products** > **Add product**.
2. Name it, for example "Gift wrapping", and add an image.
3. Set the price. If it's free, set the price to 0 and the cart shows "Complimentary" instead of a price.
4. Under **Inventory**, turn off **Track quantity** so the option never sells out. (If you do track it and it runs out, the checkbox is hidden.)
5. Turn off **This is a physical product** if you don't want it to affect shipping weight.
6. Make sure the product is available on the **Online Store** sales channel, and don't add it to any collection.
7. Click **Save**.

## Step 2: Hide it from search

So shoppers don't find the gift wrap product on its own, hide it from your store's search, search suggestions and search engines with the `seo.hidden` metafield:

1. In Shopify admin, go to **Settings** > **Custom data** > **Products** and click **Add definition**.
2. Enter the name "Hide from search", with namespace and key `seo.hidden`.
3. Choose the type **Integer** and save.
4. Open the gift wrap product, find the new **Hide from search** field under **Metafields**, enter `1` and save.

Products with `seo.hidden` set to 1 are left out of your store's search results, search suggestions and your sitemap.

## Step 3: Turn on gift wrap

1. Go to **Online Store** > **Themes** > **Customize** and click **Theme settings** (the paintbrush icon).
2. Open **Cart** and find **Gift wrap**.
3. Under **Gift wrap product**, select the product you created.
4. Choose whether to show the gift message field.

## Settings

| Setting | What it does |
| --- | --- |
| **Gift wrap product** | The product added to the cart when shoppers tick **Add gift wrapping**. Leave empty to hide the gift wrap option. |
| **Show gift message field** | After gift wrapping is added, shows a **Gift message (optional)** box. |

## How it works for shoppers

- The checkbox shows the gift wrap price, for example "+$8", or "Complimentary" if it's free.
- Ticking the box adds one gift wrap to the order. Shoppers can't change the gift wrap quantity in the cart; they untick the box or click **Remove** to take it out.
- The gift message (up to 300 characters) is saved as a **Gift message** detail on the order, which you'll see under **Additional details** on the order in Shopify admin.
- Gift wrap needs JavaScript in the shopper's browser. Without it, the checkbox doesn't do anything, but the gift wrap product can still be bought from its own page.

## Tips

- The gift message box shows the placeholder "We’ll handwrite it on a card inside the box". If that's not how you fulfil gift messages, change the text in **Online Store** > **Themes** > **…** > **Edit default theme content** (search for "handwrite").
- Because the product isn't in any collection, it won't appear in your collection pages. It can still appear in the automatic "All products" listing (`/collections/all`) and in product recommendations, so check those if you use them.
- Use a clear product image — it's shown as the line item image in the cart, order confirmation and admin.
- The gift wrap files only load when a gift wrap product is selected.

## Related

- [Cart drawer and cart page](/docs/atelier/cart)
- [Cart settings](/docs/atelier/cart-settings)
- [Order notes, discounts and savings](/docs/atelier/cart-notes-discounts)
- [Using metafields](/docs/atelier/metafields)