Log in

You dont have an account yet? Register Now

11
    11
    Shporta e juaj!
    VENUS MWO 102 Mikrovale INOX
    VENUS MWO 102 Mikrovale INOX
    Qty: 1
    Price: 179.00
    179.00
    VIVAX VL-235E, Frigorifer 230L
    VIVAX VL-235E, Frigorifer 230L
    Qty: 1
    Price: 279.00
    279.00
    Tefal SV4111E0 hekur me baze
    Tefal SV4111E0 hekur me baze
    Qty: 1
    Price: Çmimi origjinal qe: €119.00.Çmimi i tanishëm është: €79.90.
    Save 39.10
    79.90
    Akel nxemse AS1210 me 3+2 tela 2900W
    Akel nxemse AS1210 me 3+2 tela 2900W
    Qty: 1
    Price: 39.90
    39.90
    AMICA BOC4510 Furre Montuese
    AMICA BOC4510 Furre Montuese
    Qty: 1
    Price: 279.00
    279.00
    Vendmbajtëse
    MS M310 Alpha Set
    Qty: 1
    Price: 14.90
    14.90
    XIAOMI Redmi Note 13 6/128GB Midnight Black
    249.00
    SAMSUNG SM-X210 A9+ Tablet 4/64GB Gray
    SAMSUNG SM-X210 A9+ Tablet 4/64GB Gray
    Qty: 1
    Price: 329.00
    329.00
    GRANGUSTO ALTA32cm
    GRANGUSTO ALTA32cm
    Qty: 1
    Price: 8.99
    8.99
    ELECTROLUX  ENS3SE18S Frigorifer Montues
    ELECTROLUX ENS3SE18S Frigorifer Montues
    Qty: 1
    Price: 699.00
    699.00
    ADF CTB 1860 B
    ADF CTB 1860 B
    Qty: 1
    Price: 99.00
    99.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); });