Log in

You dont have an account yet? Register Now

13
    13
    Shporta e juaj!
    WHITE SHARK MP 1863 Mousepad PHAGEBORN
    9.90
    MS M300 MSI Power Bank
    MS M300 MSI Power Bank
    Qty: 1
    Price: 19.90
    19.90
    Marvo CH-106BK Karrike Gaming
    Marvo CH-106BK Karrike Gaming
    Qty: 1
    Price: 319.00
    319.00
    SET FILXHANA NESS KAFE
    SET FILXHANA NESS KAFE
    Qty: 1
    Price: 19.99
    19.99
    XIAOMI Redmi Watch 5 Active Matte Silver
    XIAOMI Redmi Watch 5 Active Matte Silver
    Qty: 1
    Price: Çmimi origjinal qe: €69.90.Çmimi i tanishëm është: €37.90.
    Save 32.00
    37.90
    CANYON HSET-W6EN keyboard-mouse kitty edition PINK
    39.90
    MS C105 MSI NEMESIS  Gaming mouse
    MS C105 MSI NEMESIS Gaming mouse
    Qty: 1
    Price: 9.90
    9.90
    XIAOMI REDMI A5, 3/64Gb
    XIAOMI REDMI A5, 3/64Gb
    Qty: 1
    Price: Çmimi origjinal qe: €119.00.Çmimi i tanishëm është: €79.00.
    Save 40.00
    79.00
    MS C106 Maus
    MS C106 Maus
    Qty: 1
    Price: 4.90
    4.90
    VENUS VE BIREF 770100
    VENUS VE BIREF 770100
    Qty: 1
    Price: Çmimi origjinal qe: €449.00.Çmimi i tanishëm është: €279.00.
    Save 170.00
    279.00
    Mikroval Silver Ecolux – EC MW20SIL
    Mikroval Silver Ecolux – EC MW20SIL
    Qty: 1
    Price: 79.00
    79.00
    ARISTON BLU1 R 80 Vertikal Bojler
    ARISTON BLU1 R 80 Vertikal Bojler
    Qty: 1
    Price: 159.00
    159.00
    XIAOMI Watch S1 Aktive GL (White)
    XIAOMI Watch S1 Aktive GL (White)
    Qty: 1
    Price: Çmimi origjinal qe: €199.00.Çmimi i tanishëm është: €134.90.
    Save 64.10
    134.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); });