Log in

You dont have an account yet? Register Now

9
    9
    Shporta e juaj!
    SAMSUNG UE85U8072FUXXH, Smart TV
    SAMSUNG UE85U8072FUXXH, Smart TV
    Qty: 1
    Price: Çmimi origjinal qe: €1,799.00.Çmimi i tanishëm është: €1,249.00.
    Save 550.00
    1,249.00
    Ndriçues - GM2-4
    Ndriçues - GM2-4
    Qty: 1
    Price: 29.99
    29.99
    Tefal Peshore PP1403V0 deri 150 kg
    Tefal Peshore PP1403V0 deri 150 kg
    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
    MUHLER IWM714WA LAVATRIQE 7 KG
    MUHLER IWM714WA LAVATRIQE 7 KG
    Qty: 1
    Price: Çmimi origjinal qe: €349.00.Çmimi i tanishëm është: €249.00.
    Save 100.00
    249.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
    Radiator 13-brinje 2500W ZLN3673
    Radiator 13-brinje 2500W ZLN3673
    Qty: 1
    Price: 59.00
    59.00
    CHIQ 50QM10GP
    CHIQ 50QM10GP
    Qty: 1
    Price: Çmimi origjinal qe: €399.00.Çmimi i tanishëm është: €279.00.
    Save 120.00
    279.00
    HANSA AMG17M2BH Mikrovale BL
    HANSA AMG17M2BH Mikrovale BL
    Qty: 1
    Price: 149.00
    149.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); });