Log in

You dont have an account yet? Register Now

10
    10
    Shporta e juaj!
    MUHLER FORMA MR-4024
    MUHLER FORMA MR-4024
    Qty: 1
    Price: 4.99
    4.99
    PHILIPS GC4511/40 Hekur 2400 W
    PHILIPS GC4511/40 Hekur 2400 W
    Qty: 1
    Price: Çmimi origjinal qe: €69.90.Çmimi i tanishëm është: €49.90.
    Save 20.00
    49.90
    VIVAX EG-4020B Grill Elektrik
    VIVAX EG-4020B Grill Elektrik
    Qty: 1
    Price: 39.90
    39.90
    MIDEA 7NM30E0B, Furre Montuese e Zeze
    MIDEA 7NM30E0B, Furre Montuese e Zeze
    Qty: 1
    Price: 419.00
    419.00
    Furrë Montuese Ecolux – EV 60 DT
    Furrë Montuese Ecolux – EV 60 DT
    Qty: 1
    Price: 289.00
    289.00
    TRUST GXT 845 Maus+Tastiere Gaming
    TRUST GXT 845 Maus+Tastiere Gaming
    Qty: 1
    Price: 39.90
    39.90
    Xiaomi Type-C Earphones Black
    Xiaomi Type-C Earphones Black
    Qty: 1
    Price: Çmimi origjinal qe: €9.90.Çmimi i tanishëm është: €6.90.
    Save 3.00
    6.90
    LUIGI FERRERO FR-2421 SET 24 PJESE
    LUIGI FERRERO FR-2421 SET 24 PJESE
    Qty: 1
    Price: 34.99
    34.99
    ECOLUX ECO V129SN BLK, Frigorifer me Display
    279.00
    Xiaomi Redmi Buds 4 Lite
    Xiaomi Redmi Buds 4 Lite
    Qty: 1
    Price: Çmimi origjinal qe: €29.90.Çmimi i tanishëm është: €16.90.
    Save 13.00
    16.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); });