Log in

You dont have an account yet? Register Now

10
    10
    Shporta e juaj!
    XIAOMI KIT PRO Makin per Qethje
    XIAOMI KIT PRO Makin per Qethje
    Qty: 1
    Price: Çmimi origjinal qe: €54.90.Çmimi i tanishëm është: €39.90.
    Save 15.00
    39.90
    VIVAX ACP-12CH35AEHI/I+ Klime Montoese Silver
    VIVAX ACP-12CH35AEHI/I+ Klime Montoese Silver
    Qty: 1
    Price: Çmimi origjinal qe: €659.00.Çmimi i tanishëm është: €579.00.
    Save 80.00
    579.00
    HOFFMANS HM-752, Minifurre 55L 2000W
    HOFFMANS HM-752, Minifurre 55L 2000W
    Qty: 1
    Price: Çmimi origjinal qe: €119.00.Çmimi i tanishëm është: €39.99.
    Save 79.01
    39.99
    ADF CTB 1352 B Aspirator Full Montues, Black
    99.00
    ELECTROLUX EHM3310 Mikser Dore 450W
    ELECTROLUX EHM3310 Mikser Dore 450W
    Qty: 1
    Price: 29.90
    29.90
    ELECTROLUX E6EC1-6ST Aparat Espresso
    ELECTROLUX E6EC1-6ST Aparat Espresso
    Qty: 1
    Price: 199.00
    199.00
    Tefal Peshore PP1403V0 deri 150 kg
    Tefal Peshore PP1403V0 deri 150 kg
    Qty: 1
    Price: 24.90
    24.90
    DALING DL-3023 1400W Fen per Floke
    DALING DL-3023 1400W Fen per Floke
    Qty: 1
    Price: 14.99
    14.99
    VIVAX ACP-12CH35REWI/I INVERTER -20C A+++
    VIVAX ACP-12CH35REWI/I INVERTER -20C A+++
    Qty: 1
    Price: Çmimi origjinal qe: €699.00.Çmimi i tanishëm është: €579.00.
    Save 120.00
    579.00
    XIAOMI Gaming Monitor G27i EU
    XIAOMI Gaming Monitor G27i EU
    Qty: 1
    Price: Çmimi origjinal qe: €199.00.Çmimi i tanishëm është: €149.00.
    Save 50.00
    149.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); });