Log in

You dont have an account yet? Register Now

14
    14
    Shporta e juaj!
    AMICA BOC4510 Furre Montuese
    AMICA BOC4510 Furre Montuese
    Qty: 2
    Price: 279.00
    558.00
    MUHLER MR-442 TENGJERE
    MUHLER MR-442 TENGJERE
    Qty: 1
    Price: 24.99
    24.99
    TMB NSB-2500 Kalorifer
    TMB NSB-2500 Kalorifer
    Qty: 2
    Price: 39.90
    79.80
    Radiator 13-brinje 2500W ZLN3673
    Radiator 13-brinje 2500W ZLN3673
    Qty: 1
    Price: 59.00
    59.00
    GOREX GRX F 60BLK Furre Montuese
    GOREX GRX F 60BLK Furre Montuese
    Qty: 2
    Price: 299.00
    598.00
    VIVAX HD-2000 Fem per floke
    VIVAX HD-2000 Fem per floke
    Qty: 2
    Price: 24.90
    49.80
    ELECTROLUX KNT2LF18S Frigorifer Full Montues
    719.00
    HOFFMANS HM-752, Minifurre 55L 2000W
    HOFFMANS HM-752, Minifurre 55L 2000W
    Qty: 1
    Price: 99.90
    99.90
    Xiaomi Mi Smart  Scale S200 (WHITE)
    Xiaomi Mi Smart Scale S200 (WHITE)
    Qty: 1
    Price: Çmimi origjinal qe: €24.90.Çmimi i tanishëm është: €16.90.
    Save 8.00
    16.90
    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); });