Log in

You dont have an account yet? Register Now

10
    10
    Shporta e juaj!
    Xiaomi Mi Smart  Scale S200 (WHITE)
    Xiaomi Mi Smart Scale S200 (WHITE)
    Qty: 2
    Price: Çmimi origjinal qe: €24.90.Çmimi i tanishëm është: €16.90.
    Save 16.00
    33.80
    SAMSUNG UE55U8092FUXXH, Smart TV 4K
    SAMSUNG UE55U8092FUXXH, Smart TV 4K
    Qty: 1
    Price: Çmimi origjinal qe: €599.00.Çmimi i tanishëm është: €379.00.
    Save 220.00
    379.00
    Ecolux ECO BOJ80DT /MDA Bojler 74L – WIFI
    Ecolux ECO BOJ80DT /MDA Bojler 74L – WIFI
    Qty: 2
    Price: Çmimi origjinal qe: €349.00.Çmimi i tanishëm është: €219.00.
    Save 260.00
    438.00
    MS M-AC3100B Kabell USB-A -> USB-C
    MS M-AC3100B Kabell USB-A -> USB-C
    Qty: 1
    Price: 2.90
    2.90
    XIAOMI MI Smart Air Fryer 3.5L
    XIAOMI MI Smart Air Fryer 3.5L
    Qty: 1
    Price: Çmimi origjinal qe: €99.00.Çmimi i tanishëm është: €69.90.
    Save 29.10
    69.90
    VIVAX BS-110 Bluetooth Speaker
    VIVAX BS-110 Bluetooth Speaker
    Qty: 1
    Price: 34.90
    34.90
    Hoffmans HM-753 Mini Furre
    Hoffmans HM-753 Mini Furre
    Qty: 1
    Price: Çmimi origjinal qe: €129.90.Çmimi i tanishëm është: €89.90.
    Save 40.00
    89.90
    VIVAX BS-90 Bluetooth Speaker
    VIVAX BS-90 Bluetooth Speaker
    Qty: 1
    Price: 29.90
    29.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); });