Log in

You dont have an account yet? Register Now

8
    8
    Shporta e juaj!
    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
    ECOLUX WM8-1400G, Lavatrice 8Kg 1400RPM
    ECOLUX WM8-1400G, Lavatrice 8Kg 1400RPM
    Qty: 1
    Price: Çmimi origjinal qe: €369.00.Çmimi i tanishëm është: €279.00.
    Save 90.00
    279.00
    TMB FH-15 Kalorifer
    TMB FH-15 Kalorifer
    Qty: 1
    Price: 29.90
    29.90
    HANSA AMG17M2BH Mikrovale BL
    HANSA AMG17M2BH Mikrovale BL
    Qty: 1
    Price: 149.00
    149.00
    VIVAX ACP-12CH35AEHI/I+ Klime Montoese Silver
    VIVAX ACP-12CH35AEHI/I+ Klime Montoese Silver
    Qty: 1
    Price: Çmimi origjinal qe: €659.00.Çmimi i tanishëm është: €579.00.
    Save 80.00
    579.00
    ROWENTA CV8730D0 Fen 2200w Pro
    ROWENTA CV8730D0 Fen 2200w Pro
    Qty: 1
    Price: 59.90
    59.90
    VIVAX ACP-18CH50AEHI/O+
    VIVAX ACP-18CH50AEHI/O+
    Qty: 1
    Price: 1,029.00
    1,029.00
    TEFAL HB121838 Blender Dore 350W
    TEFAL HB121838 Blender Dore 350W
    Qty: 1
    Price: Çmimi origjinal qe: €49.90.Çmimi i tanishëm është: €34.90.
    Save 15.00
    34.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); });