Log in

You dont have an account yet? Register Now

10
    10
    Shporta e juaj!
    Electrolux EHF6240IOK Pllake montuese
    Electrolux EHF6240IOK Pllake montuese
    Qty: 1
    Price: 349.00
    349.00
    SAMSUNG NV7B41301AK/U3 Furre Montuese
    SAMSUNG NV7B41301AK/U3 Furre Montuese
    Qty: 1
    Price: 649.00
    649.00
    SAMSUNG Galaxy A55 5G 8/128, Black
    SAMSUNG Galaxy A55 5G 8/128, Black
    Qty: 1
    Price: 499.00
    499.00
    OVLENG Kufje GT92
    OVLENG Kufje GT92
    Qty: 1
    Price: 39.99
    39.99
    Nordix BSS016I Furre + Pllake SET
    Nordix BSS016I Furre + Pllake SET
    Qty: 1
    Price: Çmimi origjinal qe: €399.00.Çmimi i tanishëm është: €269.00.
    Save 130.00
    269.00
    MIDEA MSEPDU-24HRFN8 KLIME
    MIDEA MSEPDU-24HRFN8 KLIME
    Qty: 1
    Price: 1,150.00
    1,150.00
    Modeli Portable Midea  MMCS-12HRN8
    Modeli Portable Midea MMCS-12HRN8
    Qty: 1
    Price: 780.00
    780.00
    FRIGORIFER VIVAX HOME VL-235 W, VERTIKAL
    299.00
    PIKTURA 62x82
    PIKTURA 62x82
    Qty: 1
    Price: 29.99
    29.99
    Hoover NDEH11A2TCBEXS-S  RROBA THARESE  11 KG
    Hoover NDEH11A2TCBEXS-S RROBA THARESE 11 KG
    Qty: 1
    Price: Çmimi origjinal qe: €669.00.Çmimi i tanishëm është: €449.00.
    Save 220.00
    449.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); });