Log in

You dont have an account yet? Register Now

12
    12
    Shporta e juaj!
    VIVAX Modul Per WI-FI AEVI-AERI
    VIVAX Modul Per WI-FI AEVI-AERI
    Qty: 1
    Price: 19.90
    19.90
    PROMETEO PIJATE E CEKET
    PROMETEO PIJATE E CEKET
    Qty: 1
    Price: 1.99
    1.99
    MODELI PORTABLE MIDEA  MPPDB-12CRN7
    MODELI PORTABLE MIDEA MPPDB-12CRN7
    Qty: 1
    Price: 480.00
    480.00
    Ecolux Enlarese EMO 1423 FULL MD
    Ecolux Enlarese EMO 1423 FULL MD
    Qty: 1
    Price: 399.00
    399.00
    FERTERE -RFL- 28
    FERTERE -RFL- 28
    Qty: 1
    Price: 11.99
    11.99
    Hekur me Avull – Dessini DS‑887
    Hekur me Avull – Dessini DS‑887
    Qty: 1
    Price: Çmimi origjinal qe: €34.90.Çmimi i tanishëm është: €24.90.
    Save 10.00
    24.90
    XIAOMI Mi 33W Wall Charger Type-A, TypeC
    XIAOMI Mi 33W Wall Charger Type-A, TypeC
    Qty: 1
    Price: Çmimi origjinal qe: €24.90.Çmimi i tanishëm është: €19.90.
    Save 5.00
    19.90
    VIVAX DWB-601252C Enelarese Full Montuese
    319.00
    Midea CB1-18HRFN8-I
    Midea CB1-18HRFN8-I
    Qty: 1
    Price: 780.00
    780.00
    HOFFMANS HM-752, Minifurre 55L 2000W
    HOFFMANS HM-752, Minifurre 55L 2000W
    Qty: 1
    Price: Çmimi origjinal qe: €119.00.Çmimi i tanishëm është: €39.99.
    Save 79.01
    39.99
    D-Link DCS-6100LH/E Video Kamer HD
    D-Link DCS-6100LH/E Video Kamer HD
    Qty: 1
    Price: 44.90
    44.90
    VIVAX HD-1600FT Fen
    VIVAX HD-1600FT Fen
    Qty: 1
    Price: 9.90
    9.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); });