Log in

You dont have an account yet? Register Now

10
    10
    Shporta e juaj!
    XIAOMI REDMI BUDS 6 Play Pink
    XIAOMI REDMI BUDS 6 Play Pink
    Qty: 1
    Price: Çmimi origjinal qe: €24.90.Çmimi i tanishëm është: €14.90.
    Save 10.00
    14.90
    Tefal Peshore PP1401V0 deri 150 kg
    Tefal Peshore PP1401V0 deri 150 kg
    Qty: 1
    Price: 24.90
    24.90
    ELECTROLUX WDB1720 Hekur Steam 2200W
    ELECTROLUX WDB1720 Hekur Steam 2200W
    Qty: 1
    Price: 34.90
    34.90
    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
    SAMSUNG DW60M6040BB/EO Enëlarëse Montuese 60cm
    649.00
    BRUNO CBR-12DE Klime Montuese -20, Shine Luxory
    499.00
    Remax Smartwatch Se Letor Series 16 ultra 2
    44.90
    BORART 145322 REPSI QELQI 2/1
    BORART 145322 REPSI QELQI 2/1
    Qty: 1
    Price: 7.99
    7.99
    KORKMAZ A229 GJYGYM QAJI NOSTALGJIA
    KORKMAZ A229 GJYGYM QAJI NOSTALGJIA
    Qty: 1
    Price: 54.99
    54.99
    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); });