Browse Source

Don't make ajax request to shop basket on each load

Vova Tkach 5 years ago
parent
commit
e049fb570e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hosts/localhost/template/scripts.js

+ 1 - 1
hosts/localhost/template/scripts.js

@@ -86,7 +86,7 @@
 			// Check if jQuery was loaded
 			if(typeof $ == 'function') {
 				ShopProductsInitLightGallery();
-				ShopBasketAjaxUpdateCount();
+				// ShopBasketAjaxUpdateCount();
 			} else {
 				console.log('Error: jQuery is not loaded!');
 			}