When addItem() is called without a quantity set, the setQuantity() method set the value of this._quantity to 1 instead of adding 1 to the total quantity.
The problem is the line 267 of ngCart.js:
this._quantity = 1; should be this._quantity++;
I think this is an issue as quantity is an optionnal parameter.
When addItem() is called without a quantity set, the setQuantity() method set the value of this._quantity to 1 instead of adding 1 to the total quantity.
The problem is the line 267 of ngCart.js: this._quantity = 1; should be this._quantity++;
I think this is an issue as quantity is an optionnal parameter.