Skip to main content

Product line item properties

This guide describes how to collect extra information from the customer (engraving text, gift wrap, a size note) when a product is added to the cart.

Line item properties are saved with the cart line, shown in the cart and at checkout, and appear on the order in your Shopify admin.

guide-product-line-item-properties-1.webp

Add a Line item properties block​

  1. On your store's Shopify admin page, from the left-side menu, select Sales channels > Online store > Themes.
  2. In the Current theme section, select Customize to open the Theme editor.
  3. From the page selector at the top, select Products and open the product template you want to edit.
  4. Select the Product information section in the sidebar and select Add block > Line item properties. Add one block for each field you want to collect, then drag the blocks to where you want them in the buy box (usually above the Buy button block).

guide-product-line-item-properties-4.webp

Configure the block​

Each block has these settings:

  • Type: the kind of field to show.
    • Default: a single-line text input.
    • Checkbox: a yes/no tick box.
    • Radio: a list of radio buttons, choose one.
    • Dropdown: a select list, choose one.
  • Text: the field label. It is also used as the property name on the cart line and the order, so keep it short and unique (for example Engraving).
  • Checkbox group, Checked value and Unchecked value: the values saved when a Checkbox is ticked or left empty (default Yes / No).
  • Radio buttons group, Options: the choices for a Radio field, separated by commas (for example Small, Medium, Large).
  • Dropdown list group, Options: the choices for a Dropdown field, separated by commas.
  • Padding: spacing around the field (top, bottom, left, right), with separate desktop and mobile values.

guide-product-line-item-properties-5.webp

  1. Select Save. The customer's answer is added to the line item when they select Add to cart and travels with the item through the cart and checkout.
note

All three product templates use the Product information section, so the steps are the same on any of them. The Featured product section also has a Line item properties block for products you sell from the homepage. See Change product template.

tip

To collect information about the whole order rather than a single item, use cart attributes instead. See Cart attributes.