Skip to content

Cart Line Items

Cart Line Items lets you control which UI controls appear on each product in the checkout cart (quantity stepper, variant selector, and remove button) and optionally display a dynamic message or badge on individual line items.


SettingDescription
StatusToggle to enable or disable the extension
Show quantity stepperLets customers increase or decrease item quantity in the cart
Show variant selectorLets customers switch variant (size, colour, etc.) without leaving checkout
Show remove buttonLets customers remove items from the cart during checkout
SettingDescription
Message textThe text to display. Supports dynamic placeholders (see below)
AppearanceHow the message looks: Plain text, Success (green), Warning (yellow), or Critical (red)
Visibility conditionsShow the message only when a specific line item property or cart attribute key (and optionally value) matches

Supported placeholders in message text:

PlaceholderWhat it shows
{{ sku }}The product’s SKU
{{ property:key }}A line item property value (e.g. {{ property:gift_message }})
{{ cart_attribute:key }}A cart attribute value
  1. Go to Cart Line Items in the app.
  2. Toggle the status to Active.
  3. Toggle on the controls you want customers to see (Quantity stepper, Variant selector, Remove button).
  4. Optionally add Conditions to apply these controls only for certain carts.
  5. To add a line item message, enable Line Item Message and:
    • Enter the message text (using placeholders if needed)
    • Choose an appearance style
    • Optionally set visibility conditions based on a line item property or cart attribute
  6. Click Save.
  7. In the Shopify checkout editor, add the Cart Line Items block to the checkout page.

  • Supports conditions. You can show or hide controls based on cart total, product tags, customer tags, and more.
  • Visibility conditions on the line item message are separate from the main extension conditions and target individual line items rather than the whole cart.
  • Shows on checkout only.

ScenarioConditions to set
Show a “Personalised” badge on custom productsVisibility condition: line item property key = personalised
Show quantity stepper only for repeat buyersExtension conditions: Customer order count is greater than 0
Show a warning badge on items with long lead timesVisibility condition: line item property key = lead_time, show Warning appearance
Show the SKU for B2B customers who reference it in ordersExtension conditions: Customer tag contains wholesale, use {{ sku }} in message
  • Only enable the controls your customers genuinely need. Showing all three (quantity, variant, remove) clutters the cart.
  • Use the Warning appearance for messages like “This item ships in 5–7 days” to visually flag it without alarming the customer.
  • Use line item property placeholders ({{ property:key }}) to surface custom product data (engraving text, personalisation, monogram) directly in the cart.
  • Test with products that have and don’t have the property set to ensure the message visibility conditions work as expected in both cases.