Log in

You dont have an account yet? Register Now

12
    12
    Shporta e juaj!
    VIVAX WFL-140712CI Lavatrice 7Kg
    VIVAX WFL-140712CI Lavatrice 7Kg
    Qty: 1
    Price: 349.00
    349.00
    ELECTROLUX KOCEH70X Furrë Montuese
    ELECTROLUX KOCEH70X Furrë Montuese
    Qty: 1
    Price: 529.00
    529.00
    VIVAX BS-210 Bluetooth Speaker
    VIVAX BS-210 Bluetooth Speaker
    Qty: 1
    Price: 39.90
    39.90
    Xiaomi Mi Sound  Outdoor 30W (Green)
    Xiaomi Mi Sound Outdoor 30W (Green)
    Qty: 1
    Price: Çmimi origjinal qe: €59.90.Çmimi i tanishëm është: €49.90.
    Save 10.00
    49.90
    XIAOMI MI 4A Router White
    XIAOMI MI 4A Router White
    Qty: 1
    Price: Çmimi origjinal qe: €24.90.Çmimi i tanishëm është: €19.90.
    Save 5.00
    19.90
    VIVAX MF-45 Mini Bar
    VIVAX MF-45 Mini Bar
    Qty: 1
    Price: 119.00
    119.00
    Xiaomi Type-C Earphones White
    Xiaomi Type-C Earphones White
    Qty: 1
    Price: Çmimi origjinal qe: €9.90.Çmimi i tanishëm është: €6.90.
    Save 3.00
    6.90
    Furrë Amica BOC4510
    Furrë Amica BOC4510
    Qty: 1
    Price: 279.00
    279.00
    MSAG-18HRFN8-I /MSAG-18HRFN8
    MSAG-18HRFN8-I /MSAG-18HRFN8
    Qty: 1
    Price: 630.00
    630.00
    FERTERE -RFL- 28
    FERTERE -RFL- 28
    Qty: 1
    Price: 11.99
    11.99
    XIAOMI Wireless Mouse Lite 2 White GL
    XIAOMI Wireless Mouse Lite 2 White GL
    Qty: 1
    Price: Çmimi origjinal qe: €14.90.Çmimi i tanishëm është: €12.90.
    Save 2.00
    12.90
    VIVAX BS-160 Bluetooth Speaker
    VIVAX BS-160 Bluetooth Speaker
    Qty: 1
    Price: 29.90
    29.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); });