Log in

You dont have an account yet? Register Now

13
    13
    Shporta e juaj!
    Xiaomi Double Wall  Electric Kettle
    Xiaomi Double Wall Electric Kettle
    Qty: 1
    Price: Çmimi origjinal qe: €44.90.Çmimi i tanishëm është: €34.90.
    Save 10.00
    34.90
    VIVAX HD-2000 Fem per floke
    VIVAX HD-2000 Fem per floke
    Qty: 1
    Price: 24.90
    24.90
    Radiator 13-brinje 2500W ZLN3673
    Radiator 13-brinje 2500W ZLN3673
    Qty: 1
    Price: 59.00
    59.00
    ADF HVTN 1260 4100 Pllake montuese 5 zona
    199.00
    MARADO MA-1688, Aparat per kafe turke
    MARADO MA-1688, Aparat per kafe turke
    Qty: 1
    Price: 49.90
    49.90
    DESSINI DS-5583 Fen per Floke
    DESSINI DS-5583 Fen per Floke
    Qty: 1
    Price: 29.90
    29.90
    SAMSUNG WW80T4020EE1LE Lavatriqe 8KG 1200 rpm
    SAMSUNG WW80T4020EE1LE Lavatriqe 8KG 1200 rpm
    Qty: 1
    Price: Çmimi origjinal qe: €449.00.Çmimi i tanishëm është: €319.00.
    Save 130.00
    319.00
    AMICA BOF5541S Furre Montuese
    AMICA BOF5541S Furre 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
    VENUS MWO 102 Mikrovale INOX
    VENUS MWO 102 Mikrovale INOX
    Qty: 1
    Price: 179.00
    179.00
    Frigoriferi VIVAX HOME CF-310 NFX - i kombinuar
    449.00
    Xiaomi  Oscillation Electric ToothBrush Blue EU
    Xiaomi Oscillation Electric ToothBrush Blue EU
    Qty: 1
    Price: Çmimi origjinal qe: €39.90.Çmimi i tanishëm është: €29.90.
    Save 10.00
    29.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); });