We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 991778a + 9eed30e commit bdaf69fCopy full SHA for bdaf69f
skin/frontend/base/default/js/styla/connect.js
@@ -23,6 +23,7 @@ window.stylaUpdateCart = function stylaUpdateCart(data) {
23
*/
24
var $cartCountElement = jQuery(".skip-cart .count");
25
if ($cartCountElement && data.hasOwnProperty('meta')) {
26
- $cartCountElement.html(data.meta.num_items);
+ $cartCountElement.parent().removeClass('no-count'); /* Removing the no-count class from the parent element */
27
+ $cartCountElement.html(data.meta.items_qty);
28
}
29
};
0 commit comments