Log in

You dont have an account yet? Register Now

13
    13
    Shporta e juaj!
    MIDEA MCMI259GDIP Mikrovale Montuese
    MIDEA MCMI259GDIP Mikrovale Montuese
    Qty: 1
    Price: Çmimi origjinal qe: €279.00.Çmimi i tanishëm është: €199.00.
    Save 80.00
    199.00
    VENUS VE BIREF 770100
    VENUS VE BIREF 770100
    Qty: 1
    Price: Çmimi origjinal qe: €449.00.Çmimi i tanishëm është: €279.00.
    Save 170.00
    279.00
    Hekur me Avull - DESSINI DS-336
    Hekur me Avull - DESSINI DS-336
    Qty: 1
    Price: 19.99
    19.99
    VIVAX VC-1610B Thithese
    VIVAX VC-1610B Thithese
    Qty: 1
    Price: 49.90
    49.90
    MS M-AC3200B Kabell USB-A -> USB-C
    MS M-AC3200B Kabell USB-A -> USB-C
    Qty: 1
    Price: 2.90
    2.90
    VIVAX WFL-100616CS Lavatriqe 6kg
    VIVAX WFL-100616CS Lavatriqe 6kg
    Qty: 1
    Price: 199.00
    199.00
    MUHLER MR2633
    MUHLER MR2633
    Qty: 1
    Price: 14.99
    14.99
    DESSINI DS-5583
    DESSINI DS-5583
    Qty: 1
    Price: 19.99
    19.99
    ADF CTB 1860 B
    ADF CTB 1860 B
    Qty: 1
    Price: 99.00
    99.00
    VIVAX ACP-18CH50AEHI/O+ SILVER
    VIVAX ACP-18CH50AEHI/O+ SILVER
    Qty: 1
    Price: 929.00
    929.00
    Pllakë Amica PC6400ZH
    Pllakë Amica PC6400ZH
    Qty: 1
    Price: Çmimi origjinal qe: €279.00.Çmimi i tanishëm është: €139.00.
    Save 140.00
    139.00
    ART-42411 TAS DOZER 1L
    ART-42411 TAS DOZER 1L
    Qty: 1
    Price: 2.99
    2.99
    XIAOMI MI 20W Mbushes Type C
    XIAOMI MI 20W Mbushes Type C
    Qty: 1
    Price: 19.90
    19.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); });