Log in

You dont have an account yet? Register Now

15
    15
    Shporta e juaj!
    Fen per floke Gama  3900W
    Fen per floke Gama 3900W
    Qty: 2
    Price: 19.90
    39.80
    AMICA BOC4510 Furre Montuese
    AMICA BOC4510 Furre Montuese
    Qty: 1
    Price: 279.00
    279.00
    ARZUM AR004 Aparat per Kafe Black
    ARZUM AR004 Aparat per Kafe Black
    Qty: 1
    Price: 44.90
    44.90
    ROWENTA TN3400F0 Makine e Rrojes
    ROWENTA TN3400F0 Makine e Rrojes
    Qty: 1
    Price: 49.90
    49.90
    Akel nxemse AS1210 me 3+2 tela 2900W
    Akel nxemse AS1210 me 3+2 tela 2900W
    Qty: 1
    Price: 39.90
    39.90
    Ecolux Nxemese FH06
    Ecolux Nxemese FH06
    Qty: 1
    Price: 14.90
    14.90
    Akel nxemse AS-1200 me 3 Tela 2100W
    Akel nxemse AS-1200 me 3 Tela 2100W
    Qty: 1
    Price: 49.90
    49.90
    ARZUM AR5201 Makine per Rroje pa kabell
    29.90
    ARZUM AR004-T Aparat per Kafe Kaft
    ARZUM AR004-T Aparat per Kafe Kaft
    Qty: 1
    Price: 59.90
    59.90
    ECOLUX RA13F Radiator Elektrik
    ECOLUX RA13F Radiator Elektrik
    Qty: 1
    Price: 99.00
    99.00
    AMICA BOF5541S Furre Montuese
    AMICA BOF5541S Furre Montuese
    Qty: 1
    Price: 349.00
    349.00
    HANSA AMG17M2BH Mikrovale BL
    HANSA AMG17M2BH Mikrovale BL
    Qty: 1
    Price: 149.00
    149.00
    HOFFMANS HM-752, Minifurre 55L 2000W
    HOFFMANS HM-752, Minifurre 55L 2000W
    Qty: 1
    Price: 99.90
    99.90
    KORKMAZ A2855 GASTRO FERTERE
    KORKMAZ A2855 GASTRO FERTERE
    Qty: 1
    Price: 39.99
    39.99
    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); });