Log in

You dont have an account yet? Register Now

10
    10
    Shporta e juaj!
    VIVAX CHO-60BI100T X Aspirator Full Montues
    79.00
    Midea MF100W70/W Lavatriçe 7kg 1400rpm
    Midea MF100W70/W Lavatriçe 7kg 1400rpm
    Qty: 1
    Price: 319.00
    319.00
    XIAOMI REDMI BUDS 6 Play White
    XIAOMI REDMI BUDS 6 Play White
    Qty: 1
    Price: Çmimi origjinal qe: €24.90.Çmimi i tanishëm është: €14.90.
    Save 10.00
    14.90
    VENUS V3-02 Pllake Montuese
    VENUS V3-02 Pllake Montuese
    Qty: 1
    Price: 99.00
    99.00
    VIVAX BS-260 Bluetooth Speaker
    VIVAX BS-260 Bluetooth Speaker
    Qty: 1
    Price: 69.90
    69.90
    PTC Ngrohese Elektrike - PTC-602
    PTC Ngrohese Elektrike - PTC-602
    Qty: 1
    Price: 39.99
    39.99
    XIAOMI Mi Band 8 (black) EU
    XIAOMI Mi Band 8 (black) EU
    Qty: 1
    Price: Çmimi origjinal qe: €69.90.Çmimi i tanishëm është: €49.00.
    Save 20.90
    49.00
    MIDEA KLIME GAIA-12HRFN8-I
    MIDEA KLIME GAIA-12HRFN8-I
    Qty: 1
    Price: 790.00
    790.00
    XIAOMI Mi 33W Wall Charger Type-A, TypeC
    XIAOMI Mi 33W Wall Charger Type-A, TypeC
    Qty: 1
    Price: Çmimi origjinal qe: €24.90.Çmimi i tanishëm është: €19.90.
    Save 5.00
    19.90
    FAVORIT AC 12000BTU JD HB Klime Montuese
    569.00
    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); });