Log in

You dont have an account yet? Register Now

14
    14
    Shporta e juaj!
    OVLENG Kufje GT92
    OVLENG Kufje GT92
    Qty: 1
    Price: 39.99
    39.99
    PARMA FILXHANA 22Cl 1/6
    PARMA FILXHANA 22Cl 1/6
    Qty: 1
    Price: 19.99
    19.99
    Njesia e brendshme multi Slip Type CBI-18HRFN8-I
    390.00
    VIVAX VCC-700R THITHESE ELEKTRIKE
    VIVAX VCC-700R THITHESE ELEKTRIKE
    Qty: 1
    Price: Çmimi origjinal qe: €59.90.Çmimi i tanishëm është: €49.90.
    Save 10.00
    49.90
    Furrë Nordix BOS118I
    Furrë Nordix BOS118I
    Qty: 1
    Price: 319.00
    319.00
    ELECTROLUX KOCEH70X Furrë Montuese
    ELECTROLUX KOCEH70X Furrë Montuese
    Qty: 1
    Price: 529.00
    529.00
    MIDEA AG16BLACK-18NXD6 KLIME
    MIDEA AG16BLACK-18NXD6 KLIME
    Qty: 1
    Price: 880.00
    880.00
    MS B700 Ndegjuese Wireless
    MS B700 Ndegjuese Wireless
    Qty: 1
    Price: 29.90
    29.90
    Furrë Amica BOC4510
    Furrë Amica BOC4510
    Qty: 1
    Price: 279.00
    279.00
    VIVAX MWOB-2015G X Mikrovale Montuese
    VIVAX MWOB-2015G X Mikrovale Montuese
    Qty: 1
    Price: 219.00
    219.00
    BRAUN SI5277GR Hekur me Avull 2700 W
    BRAUN SI5277GR Hekur me Avull 2700 W
    Qty: 1
    Price: 59.90
    59.90
    WHITE SHARK GM 5010 Maus Gaming Warlock
    19.90
    GOTA ALEXANDER
    GOTA ALEXANDER
    Qty: 1
    Price: 9.99
    9.99
    Redmi Pad SE 8.7 Blue 4+128GB
    Redmi Pad SE 8.7 Blue 4+128GB
    Qty: 1
    Price: 199.00
    199.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); });