Log in

You dont have an account yet? Register Now

12
    12
    Shporta e juaj!
    KORKMAZ A3901 PALMA TENGJERE
    KORKMAZ A3901 PALMA TENGJERE
    Qty: 1
    Price: 29.99
    29.99
    XIAOMI Mi Smart Standing Fan 2 Lite
    XIAOMI Mi Smart Standing Fan 2 Lite
    Qty: 1
    Price: Çmimi origjinal qe: €99.00.Çmimi i tanishëm është: €49.90.
    Save 49.10
    49.90
    Vendmbajtëse
    Vluese Uji - HOFFMANS HM-2562
    Qty: 1
    Price: 18.99
    18.99
    Friz VIVAX CFR-143
    Friz VIVAX CFR-143
    Qty: 1
    Price: 219.00
    219.00
    TONTARELLI KULLUESE
    TONTARELLI KULLUESE
    Qty: 1
    Price: 1.99
    1.99
    Ndriçues - GM5-5
    Ndriçues - GM5-5
    Qty: 1
    Price: 299.99
    299.99
    SBOX 1.4/M HDMI 10m
    SBOX 1.4/M HDMI 10m
    Qty: 1
    Price: 14.90
    14.90
    SAMSUNG RB34A7B5E12/EF Frigorifer White
    SAMSUNG RB34A7B5E12/EF Frigorifer White
    Qty: 1
    Price: 849.00
    849.00
    Pllakë Amica PC6400ZH
    Pllakë Amica PC6400ZH
    Qty: 1
    Price: Çmimi origjinal qe: €279.00.Çmimi i tanishëm është: €139.00.
    Save 140.00
    139.00
    ADF CTB 1352 I aspirator full montues Inox
    ADF CTB 1352 I aspirator full montues Inox
    Qty: 1
    Price: Çmimi origjinal qe: €99.00.Çmimi i tanishëm është: €59.00.
    Save 40.00
    59.00
    XIAOMI Redmi Watch 5 Silver Gray
    XIAOMI Redmi Watch 5 Silver Gray
    Qty: 1
    Price: Çmimi origjinal qe: €179.00.Çmimi i tanishëm është: €99.00.
    Save 80.00
    99.00
    Shporet Nordix FHEC654V-W
    Shporet Nordix FHEC654V-W
    Qty: 1
    Price: 289.00
    289.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); });