Solutionunvalidated
Update the summary calculation to include quantity, e.g., compute `subtotal` as `cart.reduce((sum, item) => sum + item.price * item.quantity, 0)` (and similarly for any other derived totals).
51843848-559b-4fbf-b0db-69180ca283f8
Update the summary calculation to include quantity, e.g., compute subtotal as cart.reduce((sum, item) => sum + item.price * item.quantity, 0) (and similarly for any other derived totals).