line_item
A line in the cart: a variant, its quantity, and its pricing.
Example
{{ item.quantity }} × {{ item.product.title }} = {{ item.line_price | money }}Output:
2 × Sandalwood Candle = ₹2,998.00Properties
| Property | Description |
|---|---|
line_item.bundle_id | — |
line_item.bundle_item_id | — |
line_item.can_remove | — |
line_item.can_update_quantity | — |
line_item.cart_level_total_discount | — |
line_item.cart_line_child_id | — |
line_item.cart_line_id | — |
line_item.denomination_cents | — |
line_item.digital_delivery | — |
line_item.discount_allocations | — |
line_item.error_message | — |
line_item.event_reservation | — |
line_item.file | — |
line_item.final_line_price | Line total after discounts. |
line_item.final_line_price_after_all_discounts | — |
line_item.final_price | Unit price after discounts. |
line_item.gift_card | — |
line_item.gift_card_details | — |
line_item.grams | — |
line_item.group_product_id | — |
line_item.group_type | — |
line_item.group_variant_id | — |
line_item.id | Unique identifier. |
line_item.image | Primary image. |
line_item.instructions | — |
line_item.is_bundle_parent | — |
line_item.is_digital | — |
line_item.is_event | — |
line_item.is_gift_card | — |
line_item.is_group_component | — |
line_item.is_group_parent | — |
line_item.is_physical | — |
line_item.is_upsell | — |
line_item.is_upsell_parent | — |
line_item.item_components | — |
line_item.key | Namespaced key. |
line_item.line_level_discount_allocations | — |
line_item.line_level_total_discount | — |
line_item.line_price | Quantity × price, after line discounts. |
line_item.line_type | — |
line_item.message | Personal message. |
line_item.modifiers | — |
line_item.name | Name. |
line_item.options_with_values | Options with their values and selection state. |
line_item.original_line_price | Quantity × original price. |
line_item.original_price | Unit price before discounts. |
line_item.parent | — |
line_item.parent_relationship | — |
line_item.price | Price in the smallest currency unit (paise). Format with money. |
line_item.price_adjustment_cents | — |
line_item.product | — |
line_item.product_id | — |
line_item.product_type | — |
line_item.properties | — |
line_item.quantity | Quantity. |
line_item.recipient_email | — |
line_item.recipient_name | — |
line_item.requires_shipping | true when physical delivery is needed. |
line_item.section_id | — |
line_item.section_name | — |
line_item.sender_name | — |
line_item.sku | Stock keeping unit. |
line_item.source_bundle_id | — |
line_item.source_group_product_id | — |
line_item.source_group_variant_id | — |
line_item.source_product_id | — |
line_item.source_upsell_rule_id | — |
line_item.source_variant_id | — |
line_item.tax_lines | Tax breakdown lines. |
line_item.taxable | true when taxed. |
line_item.title | Display title. |
line_item.total_discount | Total discount amount on the line. |
line_item.unit_price | — |
line_item.unit_price_measurement | — |
line_item.upsell_rule_id | — |
line_item.url | Relative URL of the resource. |
line_item.url_to_remove | — |
line_item.value | The value. |
line_item.variant | — |
line_item.variant_id | — |
line_item.vendor | Vendor / brand name. |
Property list is generated from the storefront engine (CartLineItemDrop), so it always matches what your theme can use. Inspect live values with {{ line_item | json }}.