diff --git a/product-left-sidebar.php b/product-left-sidebar.php index 4e4e6f5..24c10ae 100644 --- a/product-left-sidebar.php +++ b/product-left-sidebar.php @@ -90,6 +90,8 @@ if (isset($_GET['id'])) { if (data != "") { console.log("Data: " + data + "\nStatus: " + status); document.getElementById("cartItemCount").innerHTML = data; + document.getElementById("cartNewItemCount").innerHTML = data; + } }); } @@ -97,8 +99,9 @@ if (isset($_GET['id'])) { function updateWishItemCount() { $.get("wishlistitems.php?id=", function(data) { if (data != "") { - console.log("Data: " + data + "\nStatus: " + status); document.getElementById("wishItemCount").innerHTML = data; + document.getElementById("wishNewItemCount").innerHTML = data; + } }); } @@ -538,7 +541,7 @@ if (isset($_GET['id'])) { -'; @@ -548,6 +551,7 @@ if (isset($_GET['id'])) { echo '