now cart number shows number of actual items not distinct ones (equivalent to windeln)

This commit is contained in:
Senad Uka
2015-02-10 05:19:39 +01:00
parent ede3d917a2
commit 108f370bd0
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@
}
.single_item div {
width: 315px;
width: 300px;
}
.single_item h1 {

View File

@@ -80,7 +80,7 @@ var CartStore = _.extend({}, EventEmitter.prototype, {
if(states.hasOwnProperty(key)){
var value = states[key];
if (value.get('count') > 0) {
numberOfItems++;
numberOfItems += value.get('count');
}
}
};