Modification

A modifier selection on a cart line item.

A modifier selection on a cart line item. Access via cart_item.selections.

Properties

description

A description of the selection. Delegated from the modifier's name.

Returns: String

modifier

The modifier that was selected.

Returns: Variant::ModifierDrop

modifier_group_name

Name of the modifier group this selection belongs to.

Returns: String

modifier_name

The selected modifier's display name.

Returns: String

price

Price of this selection in the subunit of the current currency.

Returns: Integer — e.g. 1950 for $19.50.

{{ selection.price | money }}

On this page