Log in

You dont have an account yet? Register Now

11
    11
    Shporta e juaj!
    LUIGI FERRERO FR-1265 THIKA
    LUIGI FERRERO FR-1265 THIKA
    Qty: 1
    Price: 4.99
    4.99
    AOC 24B2XHM Monitor 75Hz 24INCH
    AOC 24B2XHM Monitor 75Hz 24INCH
    Qty: 1
    Price: 179.00
    179.00
    REMINGTON PG180 Makine Rroje
    REMINGTON PG180 Makine Rroje
    Qty: 1
    Price: 29.90
    29.90
    Office Tech Kabell Vazhduese 3M 334-3M
    5.90
    MS C100 Tastierë
    MS C100 Tastierë
    Qty: 1
    Price: 19.90
    19.90
    Minibar Muhler MB51IF
    Minibar Muhler MB51IF
    Qty: 1
    Price: 179.00
    179.00
    MIDEA KLINE CB1-24HRFN8
    MIDEA KLINE CB1-24HRFN8
    Qty: 1
    Price: 1,020.00
    1,020.00
    WHITE SHARK GK-1924 Tastiere GAMING
    WHITE SHARK GK-1924 Tastiere GAMING
    Qty: 1
    Price: 29.90
    29.90
    ADF CTB 1860 G Aspirator Terheqes Inox
    99.00
    SAMSUNG WW80T4020EE1LE Rrobalarese 8KG 1200 RPM
    SAMSUNG WW80T4020EE1LE Rrobalarese 8KG 1200 RPM
    Qty: 1
    Price: Çmimi origjinal qe: €549.00.Çmimi i tanishëm është: €329.00.
    Save 220.00
    329.00
    MIDEA MF110W60/60, Lavatrice 6Kg, 1000Rpm
    MIDEA MF110W60/60, Lavatrice 6Kg, 1000Rpm
    Qty: 1
    Price: Çmimi origjinal qe: €299.00.Çmimi i tanishëm është: €239.00.
    Save 60.00
    239.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); });