Cart item
A line item in the customer's cart.
A line item in the customer's cart.
Access via cart.items.
Properties
adult_count
The number of guests per unit on this line item.
Returns: Integer or nil
end_on
The line item's end date.
Returns: Date or nil
end_time
End time in the product's time zone. Accounts for custom durations — use this rather than the experience slot's end time.
Returns: String or nil — 24-hour clock time in HH:MM format (e.g. 11:00),
or nil when the item has no start time.
experience_slot
The experience slot booked for this line item.
Returns: ExperienceSlotDrop or nil
id
Unique identifier for the line item, used in cart forms and URLs.
Returns: String
in_custom_priced_package
Whether this item is part of a custom-priced package booking.
Returns: Boolean
package_booking
The package booking when this item is part of a package.
Returns: PackageBookingDrop or nil
price
Unit price excluding modifier selections and price reductions, in the subunit of the current currency. For package line items, excludes upgrade amounts (shown on sub-items instead). For other items, returns the unit price for cart templates to multiply by quantity.
Returns: Integer
product
The product on this line item.
Returns: ProductDrop
quantity
The quantity selected.
Returns: Integer
removable?
Whether the customer can remove this item from the cart. Package items can only be removed while the customer is on the corresponding package step.
Returns: Boolean
seat_groups
Assigned seats for this line item, grouped by section and row.
Returns: Array (Seating::SeatGroupDrop)
selections
Modifier selections on this line item.
Returns: Array (ModificationDrop)
show_price?
Whether to show this item's price. False for an element of a package that displays only its total price, or of a custom-priced package.
Returns: Boolean
{% if item.show_price? %}{{ item.price | money }}{% endif %}start_on
The line item's start date.
Returns: Date or nil
start_time
Start time in the product's time zone.
Returns: String or nil — 24-hour clock time in HH:MM format (e.g. 11:00),
or nil when the item has no start time.
sub_items
Child line items for a custom-priced package booking. Empty for ordinary cart items.
Returns: Array (CartItemDrop)
subtotal
Line subtotal including modifier selections, before price reductions, in the subunit of the current currency.
Returns: Integer
total
Line total after price reductions and fees, in the subunit of the current currency.
Returns: Integer
{{ item.total | money }}total_deposit
Minimum checkout payment for this line item when paying by deposit, in the subunit of the current currency.
Returns: Integer
total_fee
On-platform booking fee for this line item, in the subunit of the current currency. Includes the payment plan fee only once the customer has chosen to pay with a payment plan at checkout.
Returns: Integer
total_guests
Total guests on the line item (quantity multiplied by adult count).
Returns: Integer
total_modifications_amount
Total modifier selection price for this line item, in the subunit of the current currency.
Returns: Integer
total_off_platform_fee
Off-platform booking fee for this line item, in the subunit of the current currency.
Returns: Integer
total_package_upgrade_amount
Total package upgrade amount for this line item, in the subunit of the current currency.
Returns: Integer
unit_subtotal
Per-unit subtotal including modifier selections, before price reductions, in the subunit of the current currency.
Returns: Integer
variant
The variant on this line item.
Returns: VariantDrop or ExperienceVariantDrop or AccommodationVariantDrop or ExtraDrop
variant_name
The variant's display name.
Returns: String