Log in

You dont have an account yet? Register Now

15
    15
    Shporta e juaj!
    MUHLER IWM714WA LAVATRIQE 7 KG
    MUHLER IWM714WA LAVATRIQE 7 KG
    Qty: 3
    Price: Çmimi origjinal qe: €349.00.Çmimi i tanishëm është: €249.00.
    Save 300.00
    747.00
    SAMSUNG A15 4/128GB Blue Black
    SAMSUNG A15 4/128GB Blue Black
    Qty: 1
    Price: 219.00
    219.00
    Akel nxemse AS1210 me 3+2 tela 2900W
    Akel nxemse AS1210 me 3+2 tela 2900W
    Qty: 2
    Price: 39.90
    79.80
    Xiaomi Redmi Buds 6 Active
    Xiaomi Redmi Buds 6 Active
    Qty: 1
    Price: Çmimi origjinal qe: €24.90.Çmimi i tanishëm është: €19.90.
    Save 5.00
    19.90
    VIVAX ACP-12CH35AERI/Is--Os SILVER
    VIVAX ACP-12CH35AERI/Is--Os SILVER
    Qty: 1
    Price: Çmimi origjinal qe: €619.00.Çmimi i tanishëm është: €519.00.
    Save 100.00
    519.00
    Ndriçues - GM4-7
    Ndriçues - GM4-7
    Qty: 1
    Price: 39.99
    39.99
    VIVAX VC-1610B Thithese Elektrike - RED
    49.90
    ELECTROLUX E6EC1-6ST Aparat Espresso
    ELECTROLUX E6EC1-6ST Aparat Espresso
    Qty: 1
    Price: 199.00
    199.00
    PARMA FILXHANA 22Cl 1/6
    PARMA FILXHANA 22Cl 1/6
    Qty: 1
    Price: 19.99
    19.99
    VIVAX ACP-18CH50AERI/Is--Os Silver Mirror
    859.00
    VIVAX VC-1610B Thithese Elektrike - WHITE
    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); });