Log in

You dont have an account yet? Register Now

12
    12
    Shporta e juaj!
    XIAOMI REDMI BAND 2 GL IVORY
    XIAOMI REDMI BAND 2 GL IVORY
    Qty: 1
    Price: Çmimi origjinal qe: €49.99.Çmimi i tanishëm është: €29.90.
    Save 20.09
    29.90
    ARZUM OK0013-KX Aparat Per Kafe Turke
    ARZUM OK0013-KX Aparat Per Kafe Turke
    Qty: 1
    Price: 44.90
    44.90
    Office Line Toner x 3020/3025
    Office Line Toner x 3020/3025
    Qty: 2
    Price: 14.90
    29.80
    MUHLER MHT-383 Aparat per Krepa 30Cm
    MUHLER MHT-383 Aparat per Krepa 30Cm
    Qty: 2
    Price: 49.90
    99.80
    Nordix BSS016I Furre + Pllake SET
    Nordix BSS016I Furre + Pllake SET
    Qty: 1
    Price: Çmimi origjinal qe: €399.00.Çmimi i tanishëm është: €269.00.
    Save 130.00
    269.00
    MIDEA FRIGORIFER MONTUES NO FROST MDRE379FGE01
    MIDEA FRIGORIFER MONTUES NO FROST MDRE379FGE01
    Qty: 1
    Price: Çmimi origjinal qe: €519.00.Çmimi i tanishëm është: €379.00.
    Save 140.00
    379.00
    MSI Monitor MAG 255F E20,24.5" rapid IPS,FHD
    249.00
    LORGAR Circulus 910 Streming Web Camera 5MB
    298.00
    COUGAR ARMOR ELITE GAMING Chair White
    COUGAR ARMOR ELITE GAMING Chair White
    Qty: 1
    Price: 399.00
    399.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); });