Log in

You dont have an account yet? Register Now

13
    13
    Shporta e juaj!
    Xiaomi Double Wall  Electric Kettle
    Xiaomi Double Wall Electric Kettle
    Qty: 2
    Price: Çmimi origjinal qe: €44.90.Çmimi i tanishëm është: €34.90.
    Save 20.00
    69.80
    DESSINI DS-5583 Fen per Floke
    DESSINI DS-5583 Fen per Floke
    Qty: 1
    Price: 29.90
    29.90
    SBOX WKM 22 Tastjere + Mouse Bluetooth
    24.90
    VIVAX ACP-18CH50AEMI/Is-Os Klime Montuese
    VIVAX ACP-18CH50AEMI/Is-Os Klime Montuese
    Qty: 1
    Price: Çmimi origjinal qe: €739.00.Çmimi i tanishëm është: €559.00.
    Save 180.00
    559.00
    AOC 24G2SAE/BK Monitor Gaming 165Hz
    AOC 24G2SAE/BK Monitor Gaming 165Hz
    Qty: 1
    Price: 219.00
    219.00
    ARZUM OKKA  OK0040 Aparat per kafe turke
    ARZUM OKKA OK0040 Aparat per kafe turke
    Qty: 1
    Price: 169.00
    169.00
    ADF CTB 1352 B Aspirator Full Montues, Black
    99.00
    SAMSUNG LS27BG400EUXEN Monitor FHD 240Hz
    329.00
    CAYNON HSET-W5 ENkeyboard -mouse WHITE
    79.80
    Ndriçues - GM1-4
    Ndriçues - GM1-4
    Qty: 1
    Price: 59.99
    59.99
    Xiaomi Mi Smart Outdoor Camera CW300 EU
    Xiaomi Mi Smart Outdoor Camera CW300 EU
    Qty: 1
    Price: Çmimi origjinal qe: €69.90.Çmimi i tanishëm është: €49.90.
    Save 20.00
    49.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); });