Z O B A E R

Loading

Guide Shopify guide

Shopify Product Personalization: Add a Custom Text Field

Add a free engraving or name field to Shopify product pages in Dawn and Horizon, check it reaches the order, and see when a personalization app is worth it.
Zobaer Hossain
Zobaer H.Shopify Select Partner · 10+ years
Shopify product personalization: how to add a custom text field with line item properties in Dawn and Horizon, guide by Zobaer H.

Names on necklaces, initials on wallets, a short message on a mug. Shoppers love products made just for them. Shopify product personalization can be free: a simple text box on the product page, saved with the order, is often all you need.

In this guide, I show you how to add a custom text field to Shopify’s free themes, Dawn and Horizon. Horizon needs no code. For Dawn, I give you a short code block that I tested in both themes. I have set this up on many client stores.

Here is what you will learn:

  • How line item properties save the shopper’s text with the order
  • How to add a required text field in Horizon without code
  • How to add a text field and a dropdown in Dawn (tested code)
  • How to check the text in the cart, the order and the packing slip
  • How to charge extra for personalization, and when to use an app

How Shopify product personalization works

Shopify product personalization without an app uses line item properties. These are extra fields on the product page, such as a text box for a name or a dropdown for a font. The shopper’s answer is saved with the product in the cart and on the order.

According to Shopify’s help page on variants and line item properties, the values show at checkout and on the order details page in your admin. The same page lists three limits:

  • No price, SKU or stock. Line item properties aren’t variants, so they can’t change the price on their own.
  • Product page only. Products added in other ways, such as a quick-add button, Shopify POS or a draft order, might not include them.
  • No checks by default. Shopify doesn’t check what the shopper types. If you need an answer, the theme has to ask for it.

So Shopify product personalization starts in your theme, not on the product in your admin. Each field has a name, such as “Engraving”, and that name shows next to the shopper’s text everywhere.

Make a separate product template first

A separate template keeps the field off products you don’t personalize.

  1. Go to Online Store, find your theme and click Edit theme.
  2. Open the Home page drop-down at the top, choose Products, then click Create template.
  3. Name it personalized, base it on Default product and click Create template.
  4. In your admin, open each product that gets the field. In the Theme template section, choose personalized and save.

Way 1: Add a custom text field in Horizon (no code)

Horizon has a built-in block for Shopify product personalization. Its name in the editor is Special instructions, and it saves the text as a line item property. Shopify added it to Horizon in 2025, so update your theme if you don’t see it.

  1. In the theme editor, open your personalized product template.
  2. In the Product information section, select the Details block, click Add block and choose Special instructions.
  3. Set Heading to something clear, such as “Personalize it”. Use Description for a short tip, like “Up to 25 letters. We engrave exactly what you type.”
  4. Set Property name to Engraving. This is the label shown in the cart, checkout and order.
  5. Under Input type, keep Text. Set Max characters to your limit.
  6. Check Input required to add item to cart, add a Placeholder text and click Save.
Shopify product personalization in Horizon: the Special instructions block with Property name, Max characters and the required setting
Way 1: Horizon’s Special instructions block adds Shopify product personalization with no code.

Shoppers see a text box with a live counter, such as “0/25 characters used”. If the box is empty, Add to cart won’t work.

Two limits come from the block’s settings. Max characters runs from 25 to 250, and above 45 the field becomes a multi-line box. The Checkbox type gives a simple yes or no tick box. For a limit under 25 or a dropdown, use Way 2.

Way 2: Add a custom text field in Dawn with Custom Liquid

Dawn has no personalization block, but it has a Custom Liquid block. Paste the code below into it and you get a custom text field with a 20-character limit, a counter and a required check.

  1. Click … next to your theme and choose Duplicate, so you have a backup.
  2. Open the theme editor and your personalized product template.
  3. In Product information, click Add block and choose Custom Liquid.
  4. Paste the code into the Liquid code box.
  5. Drag the block above Buy buttons and click Save.
{%- comment -%}
  Personalization text field (zobaer.me). For Horizon, change product-form- to BuyButtons-ProductForm-
{%- endcomment -%}
{%- assign form_id = 'product-form-' | append: section.id -%}
{%- assign field_id = 'Personalization-' | append: section.id -%}
<div class="zp-field">
  <label class="zp-field__label" for="{{ field_id }}">Engraving text (required)</label>
  <input id="{{ field_id }}" class="zp-field__input" type="text" name="properties[Engraving]" form="{{ form_id }}" maxlength="20" required autocomplete="off" placeholder="Example: Anna &amp; Tom">
  <p class="zp-field__hint"><span data-zp-count>0</span>/20 characters. We engrave exactly what you type.</p>
  <p class="zp-field__error" role="alert" hidden>Please enter your engraving text.</p>
</div>
<script>
  (function () {
    var field = document.getElementById('{{ field_id }}');
    if (!field) return;
    var box = field.parentNode;
    var count = box.querySelector('[data-zp-count]');
    var error = box.querySelector('.zp-field__error');
    count.textContent = field.value.length;
    field.addEventListener('input', function () {
      count.textContent = field.value.length;
      error.hidden = true;
      field.removeAttribute('aria-invalid');
    });
    document.addEventListener('submit', function (event) {
      if (event.target.getAttribute('id') !== '{{ form_id }}' || field.value.trim() !== '') return;
      event.preventDefault();
      event.stopImmediatePropagation();
      error.hidden = false;
      field.setAttribute('aria-invalid', 'true');
      field.focus();
    }, true);
  })();
</script>
<style>
  .zp-field { max-width: 440px; margin: 0 0 16px; }
  .zp-field__label { display: block; margin: 0 0 6px; font-weight: 600; }
  .zp-field__input { box-sizing: border-box; width: 100%; max-width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid currentColor; border-radius: 4px; background: transparent; color: inherit; font: inherit; font-size: 16px; }
  .zp-field__hint, .zp-field__error { margin: 6px 0 0; font-size: 14px; line-height: 1.4; }
  .zp-field__error { color: #b3261e; font-weight: 600; }
</style>

To make it yours, change Engraving on line 8 to your own property name. To change the limit, edit maxlength=”20″ on line 8 and the “/20” on line 9. Change the label and messages to your own words.

Why the extra script? Dawn’s product form switches off the browser’s own required check (it uses novalidate). The script blocks Add to cart when the box is empty or holds only spaces. It shows a red message and puts the cursor back in the box.

Custom text field in Dawn: the Custom Liquid block above Buy buttons and the required engraving field on a phone
Way 2: a Custom Liquid block above the Buy buttons, and the result on a phone.

How I tested the code

I placed the code next to a copy of each theme’s product form, with Dawn’s and Horizon’s own CSS. Then I clicked Add to cart in Chrome at 360, 390 and 1280 px.

  • An empty box and a box with only spaces were both blocked.
  • The 21st character was refused, and the counter showed 20/20.
  • “Anna & Tom” was sent as properties[Engraving] together with the product.
  • Nothing ran off the screen, and the 16 px text stops iPhones from zooming in.

The test also caught a trap. Product forms contain a hidden field called “id”, which hides the form’s own id from simple scripts. My first version missed it. The code above reads the id the safe way.

Using it in Horizon? Change product-form- on line 4 to BuyButtons-ProductForm- and add the block inside Details. Horizon’s form keeps the browser check on, so an empty box gets the browser’s own message instead of the red text.

Add a dropdown for options beyond variants

A dropdown is useful for choices that don’t change the price, like a font or a thread color. Shopify products can have up to 3 options and 2,048 variants. Fonts and colors as variants use those up fast, as I explain in my Shopify variant limit guide. As line item properties, they don’t use any.

Add a second Custom Liquid block under the first and paste this. It uses the same style, so it matches the text box. For Horizon, make the same one-word change on line 1.

{%- assign form_id = 'product-form-' | append: section.id -%}
<div class="zp-field">
  <label class="zp-field__label" for="Font-{{ section.id }}">Font</label>
  <select id="Font-{{ section.id }}" class="zp-field__input" name="properties[Font]" form="{{ form_id }}">
    <option value="Classic">Classic</option>
    <option value="Script">Script</option>
    <option value="Block capitals">Block capitals</option>
  </select>
</div>

Change the label and options to your own. In my tests, both values were sent together. More tested snippets are in my free Shopify code library.

Check the text in the cart, order and packing slip

Shopify product personalization only works if the text reaches the person who makes the product. Here is where it shows:

  • Cart: Dawn’s cart page, cart drawer and pop-up, and Horizon’s cart all print each property under the item, such as “Engraving: Anna & Tom”. Property names that start with an underscore, like _ref, stay hidden.
  • Checkout and order: the text shows at checkout and under the item on the order details page.
  • Emails: Shopify’s help says the default Order confirmation and New order templates don’t print them. To show the text, add the line.properties variable to those templates.
  • Packing slip: the packing slip template can read line_item.properties. If your slip doesn’t print the text, add the loop below.
  1. Go to Settings, then Shipping and delivery.
  2. In the Documents section, click your default packing slip template.
  3. Paste the code below the line that prints the item title, then click Preview and pick an order with personalization.
  4. Check the text and click Save.
{% for property in line_item.properties %}
  {% assign first_character = property.first | slice: 0 %}
  {% if property.last != blank and first_character != '_' %}
    <p class="line-item-description-line">{{ property.first }}: {{ property.last }}</p>
  {% endif %}
{% endfor %}

It prints each visible property on its own line. I use the same loop in my Shopify gift wrapping guide. Then place one test order and check every step.

Line item properties in Shopify: the engraving text in the cart drawer, on the order details page and on the packing slip
The same line item properties travel from the cart to the order and the packing slip.

How to charge extra for personalization

Line item properties can’t add a fee. If your Shopify product personalization costs you time or materials, you have three ways to charge for it.

WayCostHow the fee worksBest for
Variant optionFree“With engraving” variant costs moreOne fixed fee
Add-on productFreeShopper adds a separate fee itemA fee on many products
Options appMonthly feeApp adds the price for youMany paid choices

Variant option. Add an option called “Engraving” with two values, “No” and “Yes”, and give the “Yes” variants a higher price. With the Horizon block, leave the required setting off and tell shoppers to fill in the box only if they chose “Yes”.

Add-on product. Create an unlisted “Engraving” product with your fee, the same way as a gift wrap product. It works, but shoppers must remember to add it, so check orders by hand.

Options app. The app adds the fee for each paid choice. It is the easiest path when you have many.

Can customers upload a file?

Partly. Shopify’s theme docs say a line item property can hold a file a customer uploads. Themes then show a link to it in the cart. But neither Dawn nor Horizon includes a file field, and the Special instructions block only offers text and a checkbox.

Shopify Forms logo Shopify Forms does have a File upload field. Its help page allows one file of up to 20 MB as a GIF, HEIC, JPEG, PDF, SVG, WebP or XML file. That suits a custom quote request. The file arrives with the form, though, not with the order, so you have to match the two by hand.

For photo gifts and print files tied to the order, Shopify product personalization needs an app.

Personalization apps with a live preview

A live preview shows the shopper’s name or photo on the product as they type. It suits jewelry, prints and gifts, but this kind of Shopify product personalization needs an app. Four popular options are Zepto Product Personalizer logo Zepto Product Personalizer, Easify Product Options logo Easify Custom Product Options, Teeinblue logo Teeinblue and Kickflip logo Kickflip. I compared their Shopify App Store listings on November 27, 2026. Prices change often, so check before you install.

AppLive preview fromFree planRating
Zepto Product Personalizer$9.99/monthNo (15-day trial)4.9 (1,449)
Easify Custom Product Options$19.99/monthYes, without preview4.9 (3,282)
Teeinblue$49/month + item feeDev stores only4.9 (400)
Kickflip$59/month + sales feeNo (14-day trial)4.4 (143)

Zepto’s $9.99 Starter plan includes live preview, price add-ons and file uploads for up to 100 custom orders a month. Easify’s free plan has 15 option types and shows the choices on orders, packing slips and emails. These are listing facts, not hands-on reviews.

Shopify product personalization options compared: free custom text field, dropdown, paid variant, add-on product and live preview apps
Start free with a text field, and move to an app when you need a preview, file uploads or many paid options.

Which way should you use?

The right Shopify product personalization setup depends on your theme and on what you charge for.

  • Horizon and plain text: use the Special instructions block. No code needed.
  • Dawn, a dropdown, or a limit under 25 characters: use the tested Custom Liquid code.
  • A fixed engraving fee: add a “With engraving” variant, then a text box.
  • Photos, previews or many paid options: use an app.

Whatever you choose, write clear instructions next to the field: what to type, how many letters, and whether you check spelling. My free product description generator helps with the text around it.

Common problems and fixes

The text doesn’t show in the cart or order

The field isn’t connected to the product form. In Dawn, the form name in the code must start with product-form-, and in Horizon with BuyButtons-ProductForm-. Also check that the block is on the template your product uses.

Shoppers skip the required field

Buttons like Buy it now skip the cart and go straight to checkout. On personalized products, I turn them off, so every order goes through Add to cart. In Dawn, select the Buy buttons block and uncheck Dynamic checkout buttons. In Horizon, hide the Accelerated checkout block inside Buy buttons.

Orders from collection pages have no text

Quick add buttons on collection pages skip your field. Turn off quick add on the collections that show these products.

The same product shows up twice in the cart

That is normal. Items with different text stay as separate lines, each with its own engraving.

Frequently asked questions

How do I add a custom text field to a Shopify product page for free?

In Horizon, add the Special instructions block to your product template. In Dawn, add a Custom Liquid block with the code in this guide. Both save the text as a line item property on the order.

What are line item properties in Shopify?

They are extra fields on the product page, such as a text box or dropdown. The shopper’s answer is saved with that product in the cart, at checkout and on the order. They don’t have their own price, SKU or stock.

Do I need an app for Shopify product personalization?

Not for text fields, dropdowns or tick boxes. You need an app for a live preview, photo uploads tied to the order, or many paid options.

Can customers upload a file on a Shopify product page?

Not with the free themes out of the box. Shopify Forms has a file upload field, but the file isn’t linked to the order. For files tied to an order, use an app.

Do line item properties change the product price?

No. To charge for personalization, use a variant with a higher price, an add-on product or an options app.

Is there a line item properties generator?

Shopify’s help suggests asking Sidekick in the theme editor to build a block connected to your add-to-cart form. Whatever generates the code, test it with a real test order before you go live.

Clear Shopify product personalization saves you emails, wrong engravings and refunds. If you would like it set up and styled to match your store, I add personalization as part of my Shopify store redesign service. Message me on WhatsApp and I will take a look.

Zobaer Hossain, Shopify designer

Written by Zobaer H.

Shopify Select Partner with 10+ years of experience and 5,000+ clients. I design and build Shopify stores, and I write these guides from real client work.

Shopify Select Partner badge

In this guide

    ★★★★★ 4.9 from 1,350+ client reviews

    Let's start

    Ready to start your store?

    Send me your idea or store link. I'll reply with honest advice and a fixed quote.

    ✓ Free quote✓ Fixed price✓ You own everything