Remove unused parts of cart template
Use cart as first argument of adjust_quantities
Use str instead of repr