Add missing attribute preventing existing cart items from being combined with newly added items and updating quantity.
Fix indentation, change loop variable, add further conditional checks to make sure item is from same restaurant and menu.
Fix more indentation.
Use parseFloat when adding quantity to existing cart items to prevent concat instead of addition.
Simplify how cart price determined by adding already computed totals from calling getCart.