Log in

You dont have an account yet? Register Now

19
    19
    Shporta e juaj!
    Ecolux Nxemese FH06
    Ecolux Nxemese FH06
    Qty: 2
    Price: 14.90
    29.80
    ROWENTA TN3400F0 Makine e Rrojes
    ROWENTA TN3400F0 Makine e Rrojes
    Qty: 2
    Price: 49.90
    99.80
    Radiator 13-brinje 2500W ZLN3673
    Radiator 13-brinje 2500W ZLN3673
    Qty: 1
    Price: 59.00
    59.00
    Tefal Peshore PP1401V0 deri 150 kg
    Tefal Peshore PP1401V0 deri 150 kg
    Qty: 1
    Price: 24.90
    24.90
    VENUS MWO 102 Mikrovale INOX
    VENUS MWO 102 Mikrovale INOX
    Qty: 1
    Price: 179.00
    179.00
    TMB NSB-2500 Kalorifer
    TMB NSB-2500 Kalorifer
    Qty: 2
    Price: 39.90
    79.80
    VIVAX HD-2000 Fem per floke
    VIVAX HD-2000 Fem per floke
    Qty: 1
    Price: 24.90
    24.90
    Akel nxemse AS1210 me 3+2 tela 2900W
    Akel nxemse AS1210 me 3+2 tela 2900W
    Qty: 1
    Price: 39.90
    39.90
    Frigoriferi VIVAX HOME CF-310 NFX - i kombinuar
    449.00
    GOREX GRX F 60BLK Furre Montuese
    GOREX GRX F 60BLK Furre Montuese
    Qty: 3
    Price: 299.00
    897.00
    MS C305 ICARUS Ndegjuse Gaming
    MS C305 ICARUS Ndegjuse Gaming
    Qty: 1
    Price: 19.90
    19.90
    ARZUM AR004-T Aparat per Kafe Kaft
    ARZUM AR004-T Aparat per Kafe Kaft
    Qty: 2
    Price: 59.90
    119.80
    Xiaomi Type-C Earphones White
    Xiaomi Type-C Earphones White
    Qty: 1
    Price: Çmimi origjinal qe: €9.90.Çmimi i tanishëm është: €6.90.
    Save 3.00
    6.90
    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); });