Log in

You dont have an account yet? Register Now

14
    14
    Shporta e juaj!
    LORGAR Circulus 910 Streming Web Camera 5MB
    149.00
    XIAOMI Watch S1 Aktive GL (White)
    XIAOMI Watch S1 Aktive GL (White)
    Qty: 2
    Price: Çmimi origjinal qe: €199.00.Çmimi i tanishëm është: €134.90.
    Save 128.20
    269.80
    HP 1E7D7AA Qante Lloptopi Topload
    HP 1E7D7AA Qante Lloptopi Topload
    Qty: 1
    Price: 29.90
    29.90
    Midea EZ-18RD6 KLIME
    Midea EZ-18RD6 KLIME
    Qty: 1
    Price: 810.00
    810.00
    Pllake KUMTEL HV6-04T
    Pllake KUMTEL HV6-04T
    Qty: 1
    Price: Çmimi origjinal qe: €179.00.Çmimi i tanishëm është: €99.00.
    Save 80.00
    99.00
    MIDEA MH52BI3200X-ES Aspirator
    MIDEA MH52BI3200X-ES Aspirator
    Qty: 1
    Price: 99.00
    Save 50.00
    99.00
    VIVAX DW-601262C X Enelarese Freestanding
    349.00
    MIDEA 7NM30E0B, Furre Montuese e Zeze
    MIDEA 7NM30E0B, Furre Montuese e Zeze
    Qty: 1
    Price: 419.00
    419.00
    XIAOMI Gaming Monitor G27i EU
    XIAOMI Gaming Monitor G27i EU
    Qty: 1
    Price: 199.00
    199.00
    SAMSUNG CTR464EBO1/XEO Pllake Montuese
    SAMSUNG CTR464EBO1/XEO Pllake Montuese
    Qty: 1
    Price: 349.00
    349.00
    VIVAX MWO-2077 Mikrovalë
    VIVAX MWO-2077 Mikrovalë
    Qty: 1
    Price: 89.00
    89.00
    XIAOMI Mi AC1200 Extender EU
    XIAOMI Mi AC1200 Extender EU
    Qty: 1
    Price: Çmimi origjinal qe: €34.90.Çmimi i tanishëm është: €24.90.
    Save 10.00
    24.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); });