Log in

You dont have an account yet? Register Now

13
    13
    Shporta e juaj!
    ROWENTA RO4823 Thithëse Elektrike 550 Compact
    119.00
    XIAOMI Mi 120W Charging Combo Type A
    XIAOMI Mi 120W Charging Combo Type A
    Qty: 1
    Price: Çmimi origjinal qe: €59.90.Çmimi i tanishëm është: €44.90.
    Save 15.00
    44.90
    MS Z500 Koke Adapteri
    MS Z500 Koke Adapteri
    Qty: 1
    Price: 12.90
    12.90
    VIVAX VC-1610B Thithese Elektrike - RED
    49.90
    Ndriçues - GM5-2
    Ndriçues - GM5-2
    Qty: 1
    Price: 69.99
    69.99
    CANYON MP-10 MAUSPAD gaming
    CANYON MP-10 MAUSPAD gaming
    Qty: 1
    Price: 19.00
    19.00
    BRUNO BR-12CHSD/TP41i3A Klime Montuese -30
    499.00
    SAMSUNG UE32T4302AKXXH  HD LED TV
    SAMSUNG UE32T4302AKXXH HD LED TV
    Qty: 1
    Price: Çmimi origjinal qe: €299.00.Çmimi i tanishëm është: €189.00.
    Save 110.00
    189.00
    WHITE SHARK GM 5010 Maus Gaming Warlock
    19.90
    Ecolux Furre Montuese EV 60 MT
    Ecolux Furre Montuese EV 60 MT
    Qty: 1
    Price: Çmimi origjinal qe: €289.00.Çmimi i tanishëm është: €189.00.
    Save 100.00
    189.00
    MS C106 Maus
    MS C106 Maus
    Qty: 1
    Price: 4.90
    4.90
    MS L510 Mauspad
    MS L510 Mauspad
    Qty: 1
    Price: 9.90
    9.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); });