Log in

You dont have an account yet? Register Now

13
    13
    Shporta e juaj!
    MS C510 Maus Gaming
    MS C510 Maus Gaming
    Qty: 1
    Price: 29.90
    29.90
    MUHLER MHT-383 Aparat per Krepa 30Cm
    MUHLER MHT-383 Aparat per Krepa 30Cm
    Qty: 1
    Price: 49.90
    49.90
    MS C100 Maus i Thjeshte
    MS C100 Maus i Thjeshte
    Qty: 1
    Price: 4.90
    4.90
    Furrë Amica EBX 943 625 E
    Furrë Amica EBX 943 625 E
    Qty: 1
    Price: Çmimi origjinal qe: €349.00.Çmimi i tanishëm është: €219.00.
    Save 130.00
    219.00
    SAMSUNG NV7B41301AK/U3 Furre Montuese
    SAMSUNG NV7B41301AK/U3 Furre Montuese
    Qty: 1
    Price: 649.00
    649.00
    AMICA BOC4510 Furre Montuese
    AMICA BOC4510 Furre Montuese
    Qty: 1
    Price: 279.00
    279.00
    ADF HVTN 1260 4100 Pllake montuese 5 zona
    199.00
    Xiaomi  Mi WI-FI Range Extender N300 White EU
    Xiaomi Mi WI-FI Range Extender N300 White EU
    Qty: 1
    Price: Çmimi origjinal qe: €19.90.Çmimi i tanishëm është: €14.90.
    Save 5.00
    14.90
    MS P300 Mbajtes Laptopi
    MS P300 Mbajtes Laptopi
    Qty: 1
    Price: 14.90
    14.90
    Furrë Nordix BOS118B
    Furrë Nordix BOS118B
    Qty: 1
    Price: 249.00
    249.00
    Furrë Montuese Ecolux – EV 60 DT
    Furrë Montuese Ecolux – EV 60 DT
    Qty: 1
    Price: 289.00
    289.00
    HANSA AMG17M2BH Mikrovale BL
    HANSA AMG17M2BH Mikrovale BL
    Qty: 1
    Price: 149.00
    149.00
    AMICA BOF5541S Furre Montuese
    AMICA BOF5541S Furre Montuese
    Qty: 1
    Price: 349.00
    349.00
    document.addEventListener("DOMContentLoaded", function () { let page = 1; let loading = false; let finished = false; const btn = document.getElementById("bt-load-more"); const container = document.getElementById("bt-products"); if (!btn || !container) return; // kjo e shpëton nga error function loadProducts() { if (loading || finished) return; loading = true; btn.innerText = "Duke u ngarkuar..."; fetch(`/wp-admin/admin-ajax.php?action=bt_load_products&page=${page}`) .then(res => res.text()) .then(data => { if (!data.trim()) { finished = true; btn.innerText = "Nuk ka më produkte"; return; } container.insertAdjacentHTML("beforeend", data); page++; loading = false; btn.innerText = "Shiko më shumë produkte"; }); } loadProducts(); // kjo e mbush fillimin btn.addEventListener("click", loadProducts); });