Log in

You dont have an account yet? Register Now

12
    12
    Shporta e juaj!
    Xiaomi Uni Blade Replacment Head
    Xiaomi Uni Blade Replacment Head
    Qty: 1
    Price: Çmimi origjinal qe: €19.90.Çmimi i tanishëm është: €9.90.
    Save 10.00
    9.90
    LORGAR Circulus 910 Streming Web Camera 5MB
    149.00
    Office Line Toner x 3020/3025
    Office Line Toner x 3020/3025
    Qty: 2
    Price: 14.90
    29.80
    Furrë Nordix FMN630B
    Furrë Nordix FMN630B
    Qty: 1
    Price: 249.00
    249.00
    ASUS KM-9800 Tastier & Maus
    ASUS KM-9800 Tastier & Maus
    Qty: 1
    Price: 24.90
    24.90
    WHITE SHARK MP 1897 UMETHON MAUSPAD 40x30cm
    9.90
    Xiaomi  Oscillation Electric ToothBrush Blue EU
    Xiaomi Oscillation Electric ToothBrush Blue EU
    Qty: 1
    Price: Çmimi origjinal qe: €39.90.Çmimi i tanishëm është: €29.90.
    Save 10.00
    29.90
    MS L510 Mauspad
    MS L510 Mauspad
    Qty: 1
    Price: 9.90
    9.90
    SAMSUNG BRB26703EWW/EF Frigorifer Montues
    799.00
    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
    SET I EMBELSIRAVE
    SET I EMBELSIRAVE
    Qty: 1
    Price: 9.99
    9.99
    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); });