Log in

You dont have an account yet? Register Now

11
    11
    Shporta e juaj!
    XIAOMI MI Extender Pro
    XIAOMI MI Extender Pro
    Qty: 1
    Price: Çmimi origjinal qe: €24.90.Çmimi i tanishëm është: €19.90.
    Save 5.00
    19.90
    VIVAX MWO-2079 BG Mikrovalë
    VIVAX MWO-2079 BG Mikrovalë
    Qty: 1
    Price: 99.90
    99.90
    SAMSUNG EP-TA800XBEGW TYPE-C ADAPTER
    SAMSUNG EP-TA800XBEGW TYPE-C ADAPTER
    Qty: 1
    Price: 29.90
    29.90
    XIAOMI MDZ-22-AB MI BOX S
    XIAOMI MDZ-22-AB MI BOX S
    Qty: 1
    Price: Çmimi origjinal qe: €89.90.Çmimi i tanishëm është: €64.90.
    Save 25.00
    64.90
    SAMSUNG DW60M6050BB/EO ENELARSE MONTUESE 60 cm
    SAMSUNG DW60M6050BB/EO ENELARSE MONTUESE 60 cm
    Qty: 1
    Price: Çmimi origjinal qe: €599.00.Çmimi i tanishëm është: €499.00.
    Save 100.00
    499.00
    RRAHESE PER VEZE FR-1807S
    RRAHESE PER VEZE FR-1807S
    Qty: 1
    Price: 2.49
    2.49
    GOTA UJI
    GOTA UJI
    Qty: 1
    Price: 5.99
    5.99
    Ndriçues anësorë - Q009
    Ndriçues anësorë - Q009
    Qty: 1
    Price: 29.99
    29.99
    MSI Monitor MAG 255F E20,24.5" rapid IPS,FHD
    249.00
    Vendmbajtëse
    19.90
    VIVAX BS-160 Bluetooth Speaker
    VIVAX BS-160 Bluetooth Speaker
    Qty: 1
    Price: 29.90
    29.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); });