Log in

You dont have an account yet? Register Now

16
    16
    Shporta e juaj!
    XIAOMI C300 Smart Camera
    XIAOMI C300 Smart Camera
    Qty: 1
    Price: Çmimi origjinal qe: €59.90.Çmimi i tanishëm është: €39.90.
    Save 20.00
    39.90
    SET I EMBELSIRAVE
    SET I EMBELSIRAVE
    Qty: 1
    Price: 9.99
    9.99
    ELECTROLUX KOCEH70X Furrë Montuese
    ELECTROLUX KOCEH70X Furrë Montuese
    Qty: 1
    Price: 529.00
    529.00
    Frigoriferi VIVAX HOME CF-310 NFX - i kombinuar
    449.00
    ELECTROLUX KNT2LF18S Frigorifer Full Montues
    1,438.00
    Furrë Nordix FMN630B
    Furrë Nordix FMN630B
    Qty: 2
    Price: 249.00
    498.00
    SBOX WKM 22 Tastjere + Mouse Bluetooth
    24.90
    VIVAX BS-90 Bluetooth Speaker
    VIVAX BS-90 Bluetooth Speaker
    Qty: 1
    Price: 29.90
    29.90
    Furrë Amica BOC4510
    Furrë Amica BOC4510
    Qty: 1
    Price: 279.00
    279.00
    SAMSUNG LS25BG400EUXEN Monitor 240Hz
    SAMSUNG LS25BG400EUXEN Monitor 240Hz
    Qty: 1
    Price: 319.00
    319.00
    VIVAX HD-1600FT Fen
    VIVAX HD-1600FT Fen
    Qty: 1
    Price: 9.90
    9.90
    TCL 12CHSD/XA73IFS KONDICIONER INVERTER -20C
    549.00
    XIAOMI Mi H300 Fen
    XIAOMI Mi H300 Fen
    Qty: 1
    Price: Çmimi origjinal qe: €39.90.Çmimi i tanishëm është: €29.90.
    Save 10.00
    29.90
    ELECTROLUX EOF3H50BK Furrë Montuese
    ELECTROLUX EOF3H50BK Furrë Montuese
    Qty: 1
    Price: Çmimi origjinal qe: €379.00.Çmimi i tanishëm është: €249.00.
    Save 130.00
    249.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); });