Log in

You dont have an account yet? Register Now

9
    9
    Shporta e juaj!
    XIAOMI ROBOT VACUUM H40EU
    XIAOMI ROBOT VACUUM H40EU
    Qty: 1
    Price: Çmimi origjinal qe: €499.00.Çmimi i tanishëm është: €269.00.
    Save 230.00
    269.00
    CASE
    MSI V315 Case per PC Gaming
    Qty: 1
    Price: 79.00
    79.00
    Tefal SV4111E0 hekur me baze
    Tefal SV4111E0 hekur me baze
    Qty: 1
    Price: Çmimi origjinal qe: €119.00.Çmimi i tanishëm është: €79.90.
    Save 39.10
    79.90
    FOBEM TV 43" ML43EW4000F FULL HD (Copy)
    FOBEM TV 43" ML43EW4000F FULL HD (Copy)
    Qty: 1
    Price: 299.00
    299.00
    MS P300 Mbajtes Laptopi
    MS P300 Mbajtes Laptopi
    Qty: 1
    Price: 14.90
    14.90
    Aspirator DA6-835 Black
    Aspirator DA6-835 Black
    Qty: 1
    Price: 45.00
    45.00
    SAMSUNG UE65U8072FUXXH, Smart TV, 4K
    SAMSUNG UE65U8072FUXXH, Smart TV, 4K
    Qty: 1
    Price: Çmimi origjinal qe: €899.00.Çmimi i tanishëm është: €499.00.
    Save 400.00
    499.00
    PARMA PIJATE E CEKET 20X28 CM
    PARMA PIJATE E CEKET 20X28 CM
    Qty: 1
    Price: 3.49
    3.49
    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
    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); });