This commit is contained in:
Mateusz Gruszczyński
2025-08-16 13:45:44 +02:00
parent c3c7a750ba
commit bf57b6b4e3
2 changed files with 4 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ document.addEventListener('DOMContentLoaded', function () {
offset += limit;
if (productCountDisplay) {
productCountDisplay.textContent = `Wyświetlono ${allProducts.length} produktów.`;
productCountDisplay.textContent = `Wyświetlono ${allProducts.length} z ${data.total_count} pozycji`;
}
const statsEl = document.getElementById('massAddProductStats');

View File

@@ -233,8 +233,10 @@
<!-- SORTOWANIE i LICZNIK -->
<div id="sort-bar" class="mb-2"></div>
<span id="product-count" class="badge rounded-pill bg-primary ms-2"></span><br>
<div class="mb-2">
<span id="product-count" class="badge rounded-pill bg-primary ms-2"></span>
</div>
<!-- LISTA PRODUKTÓW -->
<ul id="mass-add-list" class="list-group"></ul>