Log in

You dont have an account yet? Register Now

12
    12
    Shporta e juaj!
    ROWENTA EP1110F1 Depilator Easy Touch
    ROWENTA EP1110F1 Depilator Easy Touch
    Qty: 1
    Price: 49.99
    49.99
    MS C515 Gaming Ndegjuse, te Bardha
    MS C515 Gaming Ndegjuse, te Bardha
    Qty: 1
    Price: 24.90
    24.90
    MSI Monitor PRO MP2750, 27 FHD(1900x1080)
    199.00
    MUHLER MHT-383 Aparat per Krepa 30Cm
    MUHLER MHT-383 Aparat per Krepa 30Cm
    Qty: 1
    Price: 49.90
    49.90
    MS C510 Maus Gaming
    MS C510 Maus Gaming
    Qty: 1
    Price: 29.90
    29.90
    DESSINI VP5A Drejtuese per Floke
    DESSINI VP5A Drejtuese per Floke
    Qty: 2
    Price: 29.90
    59.80
    XIAOMI Wireless Mouse Lite 2 White GL
    XIAOMI Wireless Mouse Lite 2 White GL
    Qty: 1
    Price: Çmimi origjinal qe: €14.90.Çmimi i tanishëm është: €12.90.
    Save 2.00
    12.90
    BRUNO CBR-12DE Klime Montuese -20, Shine Luxory
    499.00
    XIAOMI REDMI BUDS 6 Play White
    XIAOMI REDMI BUDS 6 Play White
    Qty: 1
    Price: Çmimi origjinal qe: €24.90.Çmimi i tanishëm është: €14.90.
    Save 10.00
    14.90
    MS L510 Mauspad
    MS L510 Mauspad
    Qty: 1
    Price: 9.90
    9.90
    BRAUN SI1040GR Hekur
    BRAUN SI1040GR Hekur
    Qty: 1
    Price: 34.90
    34.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); });