Log in

You dont have an account yet? Register Now

14
    14
    Shporta e juaj!
    VIVAX HD-2000 Fem per floke
    VIVAX HD-2000 Fem per floke
    Qty: 1
    Price: 24.90
    24.90
    ARZUM AR004 Aparat per Kafe Black
    ARZUM AR004 Aparat per Kafe Black
    Qty: 1
    Price: 44.90
    44.90
    Akel nxemse AS1210 me 3+2 tela 2900W
    Akel nxemse AS1210 me 3+2 tela 2900W
    Qty: 2
    Price: 39.90
    79.80
    MS M-CC3100B Kabell Type C
    MS M-CC3100B Kabell Type C
    Qty: 1
    Price: 4.90
    4.90
    AMICA BOC4510 Furre Montuese
    AMICA BOC4510 Furre Montuese
    Qty: 2
    Price: 279.00
    558.00
    ARZUM OK0013-X Aparat i Kafese Turke
    ARZUM OK0013-X Aparat i Kafese Turke
    Qty: 1
    Price: 44.90
    44.90
    PTC-602 Nxemse Muri
    PTC-602 Nxemse Muri
    Qty: 1
    Price: 89.90
    89.90
    Fen per floke Gama  3900W
    Fen per floke Gama 3900W
    Qty: 1
    Price: 19.90
    19.90
    VENUS MWO 102 Mikrovale INOX
    VENUS MWO 102 Mikrovale INOX
    Qty: 1
    Price: 179.00
    179.00
    VIVAX ACP-24CH70AEMI/Is-Os Klime Montuese
    VIVAX ACP-24CH70AEMI/Is-Os Klime Montuese
    Qty: 2
    Price: Çmimi origjinal qe: €1,019.00.Çmimi i tanishëm është: €769.00.
    Save 500.00
    1,538.00
    XIAOMI Wireless Mouse Lite 2 White GL
    XIAOMI Wireless Mouse Lite 2 White GL
    Qty: 1
    Price: 14.90
    14.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); });