Guide · Custom orders and personalization

Product variants or custom inputs: choosing the right structure

Decide which choices belong in Shopify variants and which are custom answers such as names, messages and files, using a personalized mug as the example.

Two panels: stocked variants (sizes and colours) beside custom inputs (a name, a font and a gift box checkbox).
On this pageWhat a variant is forWhat a custom input is forA quick way to decideWorked example: a personalized mugWhere a choice sits in the middleHow Datima Product Options handles the input sideCheck your own product before you build

You sell a ceramic mug in three sizes, and customers keep asking for a name on it. Should “Name: Maya” become a fourth option on the product, a hundred new variants, or something else? Shopify has two different tools for this, and they answer different questions.

A variant answers “which version of this product are we selling?” A custom input answers “what does this customer want us to do to it?” Pick the wrong one and you either run out of variants or lose the answer between the cart and the packing bench.

What a variant is for

A variant is one purchasable version of a product: a size, a colour, a material. Each combination can carry its own price, SKU and inventory count, and Shopify tracks stock for it. Use a variant when the choice changes what you pick off the shelf or what you stock.

Shopify’s own documentation sets the boundaries, checked 30 October 2026: a product can have up to three options and up to 2,048 variants, and you cannot save an exact duplicate of an existing variant. The same page notes that some themes, apps and sales channels may not support more than 100 variants, so confirm with their developers before relying on a large catalog. For specialized information about a variant, Shopify points to metafields on the variant details page rather than adding more options.

What a custom input is for

A custom input collects something the shopper knows and you do not: engraving text, a gift message, a requested date, a file to print. The answer is different for nearly every order, so it has no stock, and it does not belong in your inventory.

Treat these as signs you need an input rather than a variant:

  • The possible answers are unbounded, such as names, messages or uploads.
  • You would never count stock for the answer. “Maya” is not a thing on a shelf.
  • The answer must reach the person fulfilling the order exactly as typed.
  • The choice adds a fee but does not change the item you pick.

A quick way to decide

Variant or custom input?
QuestionIf yes
Do you hold separate stock for each answer?Variant
Does the answer change the SKU you pick or ship?Variant
Is the list of answers short and known in advance?Variant is possible; an input choice also works if stock does not differ
Does every customer type something different?Custom input
Is the answer an instruction, a file or a date?Custom input
Would listing every answer exceed three options or 2,048 variants?Custom input

Worked example: a personalized mug

This is an illustrative setup, not a merchant result. The mug comes in Small, Medium and Large, in White or Navy. That is six variants and two options, and each has its own stock count: a genuine variant structure.

The name, the font and an optional gift box are different. Put them in an option set: a text field for the name, a choice for the font, and a checkbox for the gift box. The mug variants stay at six. The name never touches your inventory, and each order carries it as typed.

Do not try to build the name into variants. Even ten fonts and a hundred common names would exceed the variant limit, and the first customer called Zhang-Okafor would not be on the list.

Where a choice sits in the middle

Some choices can live in either place. Gift wrap is the classic case. If wrapping paper is a stocked item you must not oversell, a variant keeps the count honest. If wrapping is a service with a fee and stock is never a worry, an input choice with an extra charge is simpler and does not multiply your variants.

Ask which failure is worse: selling something you cannot supply, or maintaining a bloated variant matrix. Stocked, limited things lean variant. Services and instructions lean input.

How Datima Product Options handles the input side

Datima Product Options adds an option set to a product page. A field can be a text field, text area, number, email, phone, date, file upload or colour picker, or a choice shown as a dropdown, radio buttons, checkboxes, buttons or swatches. Fields can be required, shown only when another answer matches, and given an extra charge. A set holds up to 30 fields. Read the field types guide for the current list.

  • Answers travel with the order. They are saved on the cart line under each field’s label and appear under the line item, on the packing slip and in the order API, as typed. See where answers and charges appear on the order.
  • Charges are per item. A shopper buying two engraved bottles pays the engraving twice. A one-time fee per order is not available, and charges use a hidden “(option add-on)” product the app maintains. See extra charges.
  • Not a stock tracker. Option answers do not create variants or inventory, and they do not schedule capacity. Nothing here replaces Shopify’s variants for stocked differences.

Check your own product before you build

Take one product and list every choice a shopper makes. For each, write whether you hold stock for it, whether it changes what you ship, and whether the answer is free text. Keep the first group as variants, move the rest into an option set, and compare the result with the table above.

When the structure is set, create the option set with your first option set, assign it to the product, and place a test order. Check that the answers appear on the order and the packing slip before you list the product. This article describes a method, not observed results from a store.

Written by the Datima team

Practical guidance from the team building Shopify apps for product presentation and stock management. About Datima.