Shopping cart no longer breaks if quantity field is left empty