Log in

You dont have an account yet? Register Now

14
    14
    Shporta e juaj!
    VENUS MWO 102 Mikrovale INOX
    VENUS MWO 102 Mikrovale INOX
    Qty: 1
    Price: 179.00
    179.00
    Floria gjezve per kafe 600W
    Floria gjezve per kafe 600W
    Qty: 1
    Price: 12.90
    12.90
    HOFFMANS HM-752, Minifurre 55L 2000W
    HOFFMANS HM-752, Minifurre 55L 2000W
    Qty: 1
    Price: 99.90
    99.90
    GOREX GRX F 60BLK Furre Montuese
    GOREX GRX F 60BLK Furre Montuese
    Qty: 1
    Price: 299.00
    299.00
    VIVAX HD-2000 Fem per floke
    VIVAX HD-2000 Fem per floke
    Qty: 1
    Price: 24.90
    24.90
    ARZUM AR004-T Aparat per Kafe Kaft
    ARZUM AR004-T Aparat per Kafe Kaft
    Qty: 1
    Price: 59.90
    59.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
    Tefal Peshore PP1401V0 deri 150 kg
    Tefal Peshore PP1401V0 deri 150 kg
    Qty: 1
    Price: 24.90
    24.90
    XIAOMI Mi Air Compressor 2
    XIAOMI Mi Air Compressor 2
    Qty: 2
    Price: Çmimi origjinal qe: €69.90.Çmimi i tanishëm është: €44.90.
    Save 50.00
    89.80
    XIAOMI Gaming Monitor G27i EU
    XIAOMI Gaming Monitor G27i EU
    Qty: 1
    Price: Çmimi origjinal qe: €199.00.Çmimi i tanishëm është: €149.00.
    Save 50.00
    149.00
    Xiaomi Mi Sound  Outdoor 30W (Green)
    Xiaomi Mi Sound Outdoor 30W (Green)
    Qty: 1
    Price: Çmimi origjinal qe: €59.90.Çmimi i tanishëm është: €49.90.
    Save 10.00
    49.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); });