CartItemRow
Renders a single line item in the cart, showing the product name, selected modifiers, special instructions, quantity stepper, and line total.Preview
View in StorybookImport
Usage
Props
The cart item object with product details, modifiers, quantity, and price.
Callback fired when quantity is changed via the stepper.
Callback fired when the item is removed (quantity reaches 0 or delete is clicked).
Optional callback to re-open the product customization screen.
Behavior
- Displays modifier selections as comma-separated tags
- Shows special instructions in italics below modifiers
- Swipe-to-delete gesture on mobile
- Tap on item opens edit mode via
onEdit