Log in

You dont have an account yet? Register Now

12
    12
    Shporta e juaj!
    Furrë Amica BOC4510
    Furrë Amica BOC4510
    Qty: 1
    Price: 279.00
    279.00
    SAMSUNG LS27CG552EUXEN Montior QHD 165Hz
    SAMSUNG LS27CG552EUXEN Montior QHD 165Hz
    Qty: 1
    Price: Çmimi origjinal qe: €249.00.Çmimi i tanishëm është: €149.00.
    Save 100.00
    149.00
    PTC-602 Nxemse Muri
    PTC-602 Nxemse Muri
    Qty: 1
    Price: 89.90
    89.90
    Ecolux Enlarese EMO1423 SB
    Ecolux Enlarese EMO1423 SB
    Qty: 1
    Price: 399.00
    399.00
    Office Line Toner x 3020/3025
    Office Line Toner x 3020/3025
    Qty: 1
    Price: 14.90
    14.90
    CANYON MP-10 MAUSPAD gaming
    CANYON MP-10 MAUSPAD gaming
    Qty: 1
    Price: 19.00
    19.00
    LUIGI FERRERO FR-1949 PRERESE PICASH
    LUIGI FERRERO FR-1949 PRERESE PICASH
    Qty: 1
    Price: 3.49
    3.49
    VIVAX WFL-100616CS Lavatriqe 6kg
    VIVAX WFL-100616CS Lavatriqe 6kg
    Qty: 1
    Price: 199.00
    199.00
    Hekur me Avull - HOFFMANS HM-9041
    Hekur me Avull - HOFFMANS HM-9041
    Qty: 1
    Price: 29.99
    29.99
    ELECTROLUX EOF3H40BX Furre montuese
    ELECTROLUX EOF3H40BX Furre montuese
    Qty: 1
    Price: 379.00
    379.00
    Xiaomi Mi Smart  Scale S200 (Black)
    Xiaomi Mi Smart Scale S200 (Black)
    Qty: 1
    Price: Çmimi origjinal qe: €29.90.Çmimi i tanishëm është: €19.90.
    Save 10.00
    19.90
    VENUS Mikrovale e Zeze
    VENUS Mikrovale e Zeze
    Qty: 1
    Price: 199.00
    199.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); });