What are line item properties? Custom details on a Shopify order line
Published , by the PrintBlob team.
Line item properties are custom details that a Shopify product form sends with an item when it is added to the cart, such as a name to print, a gift message or a reference to a customer’s design, and that stay on the cart line and on the order. They are how Shopify carries personalisation that a product’s variants cannot.
A variant is something you stock and price in advance: a t-shirt in Navy, size M. A line item property is whatever the customer adds to one particular item: the word “Dad” in the font they chose, or the design they made in a product designer. Two customers can buy the same variant with different properties, and Shopify keeps them as separate lines.
How they work
A theme’s product form sends each property as a form field named properties[name]. Shopify’s product template reference says the inputs “need to be included inside the product form”, the same form that sends the variant and the quantity. When the customer presses Add to cart, Shopify saves the property’s name and value with the cart line, shows them in the cart and at checkout, and keeps them on the order, where you see them on the order page and in the order export.
By convention, a property whose name starts with an underscore is hidden from the customer in the cart and at checkout. Apps use those for references the customer does not need to read, while a visible property states what was chosen: Print: Front, Back.
What they are used for
- Personalised text: a name, an initial, a date, a short message.
- Choices outside the variants: a gift-wrap option, a font, a colour of thread.
- Uploaded files: the address of a logo or photo the customer uploaded.
- A product designer’s design: a reference to the saved design, so the order knows which design goes with which item, and often a picture of the design for the cart.
What they do not do on their own
A property is information, not price. A personalisation that costs more needs a way to charge for it: a separate add-on product, or an app that adds the charge in the cart with Shopify’s Cart Transform API. A property does not check the value either; a theme or an app has to stop a customer leaving a required field empty or typing too many letters.
In PrintBlob
PrintBlob for Shopify joins the theme’s own product form. When the customer presses the theme’s Add to cart, it saves the design first and adds it to the form as line item properties: a hidden reference to the design, a hidden picture of it for the cart, and a visible list of the printed sides. A cart transform then adds the print charge for each side. How it all fits together is in Shopify product customizer.
Sources
- Shopify: Product template, line item properties, read 11 Nov 2026
- Shopify: Cart Transform API, read 11 Nov 2026