An engraved pendant with four letters costs you less to make than one with twenty, so the price should move with the text. Shopify doesn't do that on its own. A variant can't hold whatever name a customer types, and a plain text field collects the words without changing the price (Shopify Liquid reference).
This guide shows how to charge per character in Shopify with a text option in Live Product Options (LPO): a per-letter price, then a base fee, included letters or a minimum. Facts were checked against Shopify's docs and the app's own reference on 8 October 2026.
The short answer
| You want to charge | How in LPO | Extension |
|---|---|---|
| The same price for every letter | Text option, Advanced tab, Add price, Per letter | None listed in the docs |
| Every letter except spaces | The text option's letter-count exclusion setting | None listed in the docs |
| A base fee, included letters or a minimum | A price formula | Formula |
How real engravers price it
Copy a structure your customers already understand. Two engravers publish theirs (checked 8 October 2026):
- Base fee plus a rate. Hersey & Son charges "£5.00 plus 30p per character" (FAQ).
- A flat price for the first characters, then a rate. James Avery charges $20 for laser engraving up to 10 characters, including symbols and punctuation, and $2 for each additional character (engraving guide).
Those are their prices, not recommendations. They show the two shapes you will choose between.
Set up per-letter pricing
- In LPO, add a Text option to your product and name it
engraving. - On its Advanced tab, click Add price at the bottom.
- Choose Per letter and enter the price per character.
- Turn on Show price on label, so the customer sees the charge as they type.
The price is multiplied by the number of letters. In the docs' example, at $1.50 a letter, "JOHN" adds 4 x $1.50 = $6.00 (LPO docs).
The text option also has settings, listed in LPO's option reference, that decide what gets counted:
- Minimum and maximum length. Set the maximum to what your machine or the item can hold.
- Letter-count exclusion. A regex for characters to leave out of the count, such as spaces.
- Pattern and validation message. Restrict input to characters you can engrave, with your own error text.
- Text transform. Force uppercase if your engraver prefers it.
The reference also lists a setting described as "Minimum characters before per-letter pricing applies". I haven't tested whether that makes the first letters free or starts pricing once the minimum is reached. For a clear "first 8 included" rule, use the formula below.
Decide your rule for spaces and punctuation and put it in the help text under the field. That way nobody finds out at checkout.
Base fee, included letters or a minimum
Anything beyond a flat per-letter rate is a price formula, which needs the Formula extension (docs). It reads the text with options.value('engraving') and returns the charge. Return 0 when the field is empty, so a customer who skips engraving isn't charged the base fee.
These are demonstration values worked by hand, not run in the app. Test your own before you go live.
| Rule | Formula body | Result |
|---|---|---|
| $5 base fee plus $0.50 a letter | let n = options.value('engraving').length; if (n === 0) return 0; return 5 + n * 0.5; |
"FOREVER YOURS" is 13 characters with the space: $11.50 |
| Same, spaces not counted | let n = options.value('engraving').replace(/\s/g, '').length; if (n === 0) return 0; return 5 + n * 0.5; |
12 characters: $11.00 |
| $12 covers the first 8 letters, then $1.50 each | let n = options.value('engraving').length; if (n === 0) return 0; return 12 + Math.max(0, n - 8) * 1.5; |
8 letters: $12.00. 12 letters: $18.00 |
| $0.75 a letter, $5 minimum | let n = options.value('engraving').length; if (n === 0) return 0; return Math.max(5, n * 0.75); |
3 letters: $5.00. 10 letters: $7.50 |
The last row follows the example in LPO's own pricing reference. Two limits apply to every formula. It returns the price per item, and the cart multiplies it by quantity. And it is calculated on the product page, so the price is locked in at add to cart and doesn't update if quantity changes in the cart (docs).
If you'd rather not write JavaScript, ask LPO's AI Assistant, which the docs say is on all plans (docs), to help. The docs don't say it writes price formulas specifically, so check any formula it gives you against the table.
Typical for: jewelry, trophies and awards, pet tags, glassware, leather goods and monogrammed apparel.
Frequently asked questions
Can I charge per word or per line instead? The text option's reference lists flat, per-letter, per-word and per-line pricing, but the help article only walks through flat and per-letter. Check per-word and per-line in your editor before using them.
Do I need the Formula extension? Only for a base fee, included letters or a minimum. Flat and per-letter pricing don't list an extension in the docs.
Try it on one product
Pick one engravable product, decide whether you want a fee plus a rate or an allowance plus a rate, and add a text option in Live Product Options with a maximum length your machine can handle.
