Log in

You dont have an account yet? Register Now

11
    11
    Shporta e juaj!
    Rowenta Drejtuese SF1629F0
    Rowenta Drejtuese SF1629F0
    Qty: 1
    Price: 34.90
    34.90
    ELECTROLUX EEA17200L Enelarese Montuese
    ELECTROLUX EEA17200L Enelarese Montuese
    Qty: 1
    Price: 549.00
    549.00
    VIVAX ACP-18CH50AEMI/Is-Os Klime Montuese
    VIVAX ACP-18CH50AEMI/Is-Os Klime Montuese
    Qty: 1
    Price: Çmimi origjinal qe: €739.00.Çmimi i tanishëm është: €559.00.
    Save 180.00
    559.00
    ROWENTA CF2132F0 Figaro 25W 16mm
    ROWENTA CF2132F0 Figaro 25W 16mm
    Qty: 1
    Price: 19.90
    19.90
    MUHLER IWM714WA LAVATRIQE 7 KG
    MUHLER IWM714WA LAVATRIQE 7 KG
    Qty: 1
    Price: Çmimi origjinal qe: €349.00.Çmimi i tanishëm është: €249.00.
    Save 100.00
    249.00
    ROWENTA CV4923F0 Fen 2200W Tropical
    ROWENTA CV4923F0 Fen 2200W Tropical
    Qty: 1
    Price: 39.90
    39.90
    FOBEM ML55EW8000F, TV 4k Full HD
    FOBEM ML55EW8000F, TV 4k Full HD
    Qty: 1
    Price: 349.00
    349.00
    KENWOOD HMP40.000GY Mikser 350W
    KENWOOD HMP40.000GY Mikser 350W
    Qty: 1
    Price: 29.90
    29.90
    D-LINK GO-SW-5G SWITCH
    D-LINK GO-SW-5G SWITCH
    Qty: 1
    Price: 6.90
    6.90
    VIVAX DW-601262C Enelarese Freestanding
    VIVAX DW-601262C Enelarese Freestanding
    Qty: 1
    Price: 299.00
    299.00
    MS O300 Wrist Pad
    MS O300 Wrist Pad
    Qty: 1
    Price: 9.90
    9.90
    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); });