Log in

You dont have an account yet? Register Now

9
    9
    Shporta e juaj!
    ARIELLI 55UD15GTV, TV QLED
    ARIELLI 55UD15GTV, TV QLED
    Qty: 1
    Price: Çmimi origjinal qe: €449.00.Çmimi i tanishëm është: €319.00.
    Save 130.00
    319.00
    Tefal Peshore PP1401V0 deri 150 kg
    Tefal Peshore PP1401V0 deri 150 kg
    Qty: 1
    Price: 24.90
    24.90
    BRAUN SI1040RD Hekur
    BRAUN SI1040RD Hekur
    Qty: 1
    Price: 34.90
    34.90
    MS C305 ICARUS Ndegjuse Gaming
    MS C305 ICARUS Ndegjuse Gaming
    Qty: 1
    Price: 19.90
    19.90
    CANYON MP-10 MAUSPAD gaming
    CANYON MP-10 MAUSPAD gaming
    Qty: 1
    Price: 19.00
    19.00
    VIVAX ACP-12CH35AEQI/Is--Os 12000BTU
    VIVAX ACP-12CH35AEQI/Is--Os 12000BTU
    Qty: 1
    Price: 489.00
    489.00
    SAMSUNG UE85U8072FUXXH, Smart TV
    SAMSUNG UE85U8072FUXXH, Smart TV
    Qty: 1
    Price: Çmimi origjinal qe: €1,799.00.Çmimi i tanishëm është: €1,249.00.
    Save 550.00
    1,249.00
    SAMSUNG WW80T4020EE1LE Lavatriqe 8KG 1200 rpm
    SAMSUNG WW80T4020EE1LE Lavatriqe 8KG 1200 rpm
    Qty: 1
    Price: Çmimi origjinal qe: €449.00.Çmimi i tanishëm është: €319.00.
    Save 130.00
    319.00
    XIAOMI C300 Smart Camera
    XIAOMI C300 Smart Camera
    Qty: 1
    Price: 59.90
    59.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); });