Log in

You dont have an account yet? Register Now

16
    16
    Shporta e juaj!
    DALING DL-3023 1400W Fen per Floke
    DALING DL-3023 1400W Fen per Floke
    Qty: 1
    Price: 14.99
    14.99
    DESSINI DS-5583 Fen per Floke
    DESSINI DS-5583 Fen per Floke
    Qty: 1
    Price: 29.90
    29.90
    Akel nxemse AS-1200 me 3 Tela 2100W
    Akel nxemse AS-1200 me 3 Tela 2100W
    Qty: 1
    Price: 49.90
    49.90
    Tefal Peshore PP1403V0 deri 150 kg
    Tefal Peshore PP1403V0 deri 150 kg
    Qty: 1
    Price: 24.90
    24.90
    EMD MAKINE QETHEJE
    EMD MAKINE QETHEJE
    Qty: 1
    Price: 9.90
    9.90
    Ecolux Nxemese FH06
    Ecolux Nxemese FH06
    Qty: 1
    Price: 14.90
    14.90
    MARADO MA-1688, Aparat per kafe turke
    MARADO MA-1688, Aparat per kafe turke
    Qty: 1
    Price: 49.90
    49.90
    ARZUM AR004-T Aparat per Kafe Kaft
    ARZUM AR004-T Aparat per Kafe Kaft
    Qty: 1
    Price: 59.90
    59.90
    ARZUM AR5201 Makine per Rroje pa kabell
    29.90
    Fen per floke Gama  3900W
    Fen per floke Gama 3900W
    Qty: 1
    Price: 19.90
    19.90
    ADF CTB 1352 B Aspirator Full Montues, Black
    198.00
    ECOLUX RA13F Radiator Elektrik
    ECOLUX RA13F Radiator Elektrik
    Qty: 1
    Price: 99.00
    99.00
    AMICA BOC4510 Furre Montuese
    AMICA BOC4510 Furre Montuese
    Qty: 1
    Price: 279.00
    279.00
    ELECTROLUX E6EC1-6ST Aparat Espresso
    ELECTROLUX E6EC1-6ST Aparat Espresso
    Qty: 1
    Price: 199.00
    199.00
    GOTA EXCLUSIVA RUM 21.5cl
    GOTA EXCLUSIVA RUM 21.5cl
    Qty: 1
    Price: 1.99
    1.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); });