Log in

You dont have an account yet? Register Now

15
    15
    Shporta e juaj!
    ROWENTA EP1048F0 Depilator Fashionista
    49.99
    MSI Monitor PRO MP2750, 27 FHD(1900x1080)
    398.00
    CANYON GK-55 Tastjere Gaming Comestrike
    59.99
    OVLENG GAMING Kufje QV-Q7
    OVLENG GAMING Kufje QV-Q7
    Qty: 3
    Price: 19.99
    59.97
    DESSINI VP5A Drejtuese per Floke
    DESSINI VP5A Drejtuese per Floke
    Qty: 1
    Price: 29.90
    29.90
    MS L510 Mauspad
    MS L510 Mauspad
    Qty: 1
    Price: 9.90
    9.90
    Xiaomi Double Wall  Electric Kettle
    Xiaomi Double Wall Electric Kettle
    Qty: 1
    Price: Çmimi origjinal qe: €44.90.Çmimi i tanishëm është: €34.90.
    Save 10.00
    34.90
    CAYNON HSET-W5 ENkeyboard -mouse WHITE
    39.90
    WHITE SHARK GM 5010 Maus Gaming Warlock
    19.90
    Vendmbajtëse
    MS M-AL1100W Kabell per Iphone
    Qty: 1
    Price: 4.90
    4.90
    XIAOMI REDMI BUDS 6 Play White
    XIAOMI REDMI BUDS 6 Play White
    Qty: 1
    Price: Çmimi origjinal qe: €24.90.Çmimi i tanishëm është: €14.90.
    Save 10.00
    14.90
    Xiaomi Mi Sound  Outdoor 30W (Green)
    Xiaomi Mi Sound Outdoor 30W (Green)
    Qty: 1
    Price: Çmimi origjinal qe: €59.90.Çmimi i tanishëm është: €49.90.
    Save 10.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); });