{"title":"CartItem - Liquid Object Reference","slug":"cart-item-liquid-object-reference","url":"https://support.storeconnect.com/articles/cart-item-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/cart-item-liquid-object-reference.md","subtitle":null,"summary":"A CartItem represents a single line in the customer\u0026#39;s Cart. It always relfects a Product that the customer is purchasing, whether it be a regular product, a bundle, a subscription, or even shipping.\n      Whatever the Product is, the CartItem always represents a single distinct configuration of that Product.","type":"Developer_Documentation","video_url":"","keywords":"liquid, objects, CartItem, template, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nA CartItem represents a single line in the customer's Cart. It always relfects a Product that the customer is purchasing, whether it be a regular product, a bundle, a subscription, or even shipping.\n      Whatever the Product is, the CartItem always represents a single distinct configuration of that Product.\n\n:::note\nThis object supports custom data via the `data` attribute.\n:::\n\n## Attributes\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `bookable_event` | [BookableEvent](bookable-event-liquid-object-reference) | Returns the BookableEvent for the CartItem |\n| `bookable?` | Boolean | Returns true if the CartItem is for a bookable Product |\n| `bundle_has_bookable_components?` | Boolean | Returns true if the Bundle has bookable components |\n| `bundle_items` | List[[CartItem](cart-item-liquid-object-reference)] | Returns the items contained in the Bundle |\n| `bundle_lead?` | Boolean | Returns true if the CartItem is the lead item in a Bundle |\n| `custom_forms` | List[[CustomForm](custom-form-liquid-object-reference)] | Returns a list of CustomForms for this CartItem |\n| `delete_path` | String | Returns a path that can be used in a delete link to delete the CartItem from the Cart |\n| `edit_bundle_path` | String | Returns a path that can be used in a link to edit CartItem |\n| `has_nested_bundle_items?` | Boolean | Returns true if the Bundle has nested bundle items |\n| `id` | String | Returns the unique id for this CartItem |\n| `in_bundle?` | Boolean | Returns true if the CartItem is part of a Bundle |\n| `max_quantity` | Number | Returns the maximum valid quantity level for this CartItem |\n| `min_quantity` | Number | Returns the minimum valid quantity level for this CartItem |\n| `name` | String | Returns the name of the CartItem Product |\n| `pickup_options` | List[[PickupOption](pickup-option-liquid-object-reference)] | Returns a list of valid Pickup locations for this CartItem Product |\n| `pricing` | [ProductPricing](product-pricing-liquid-object-reference) | Returns the Pricing for this CartItem |\n| `product` | [Product](product-liquid-object-reference) | Returns the Product for this CartItem |\n| `quantity` | Number | Returns the value of the Quantity attribute |\n| `reserved_product?` | Boolean | Returns true if the CartItem is for a reserved Product |\n| `shipping_methods` | List[String] | Returns a list of valid shipping methods for this CartItem |\n\n## Deliveries\n\nAttributes related to delivery windows\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `available_delivery_dates` | List[Timestamp] | Returns available delivery dates for the CartItem |\n| `available_delivery_days` | List[String] | Returns available delivery days for the CartItem |\n| `available_delivery_windows` | List[[DeliveryWindow](delivery-window-liquid-object-reference)] | Returns available DeliveryWindows for the CartItem |\n| `delivery_date` | Timestamp | Returns the selected delivery date for the CartItem |\n| `delivery_day` | String | Returns the selected delivery day for the CartItem |\n| `delivery_time` | String | Returns the selected delivery timeslot for the CartItem |\n\n## Weights\n\nAttributes related to weights\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `shipping_dimensions_unit` | String | Returns the unit of the shipping dimensions of the CartItem |\n| `shipping_height` | Number | Returns the shipping height of the CartItem |\n| `shipping_length` | Number | Returns the shipping length of the CartItem |\n| `shipping_weight` | Number | Returns the shipping weight of the CartItem |\n| `shipping_weight_unit` | String | Returns the unit of the shipping weight of the CartItem |\n| `shipping_width` | Number | Returns the shipping width of the CartItem |\n| `total_shipping_weight` | Number | Returns the total shipping weight of the CartItem |\n\n## Available on\n\n- [Cart - Liquid Object Reference](cart-liquid-object-reference) — `adjustment_items`, `bookable_items`, `items`, `schedulable_items`\n- [CustomForm - Liquid Object Reference](custom-form-liquid-object-reference) — `item`\n- [DeliveryOptions - Liquid Object Reference](delivery-options-liquid-object-reference) — `cart_item`, `line_item`"}