Log in

You dont have an account yet? Register Now

14
    14
    Shporta e juaj!
    AMICA BOC4510 Furre Montuese
    AMICA BOC4510 Furre Montuese
    Qty: 2
    Price: 279.00
    558.00
    PTC-602 Nxemse Muri
    PTC-602 Nxemse Muri
    Qty: 1
    Price: 89.90
    89.90
    Tefal Peshore PP1403V0 deri 150 kg
    Tefal Peshore PP1403V0 deri 150 kg
    Qty: 2
    Price: 24.90
    49.80
    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
    PIJATE E CEKET 20cm
    PIJATE E CEKET 20cm
    Qty: 1
    Price: 1.49
    1.49
    PIJATE PARMA 14cm
    PIJATE PARMA 14cm
    Qty: 1
    Price: 1.99
    1.99
    TMB FH-15 Kalorifer
    TMB FH-15 Kalorifer
    Qty: 1
    Price: 29.90
    29.90
    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
    ROWENTA EP1110F1 Depilator Easy Touch
    ROWENTA EP1110F1 Depilator Easy Touch
    Qty: 1
    Price: 49.99
    49.99
    BRUNO BR-12CHSD/TP41i3A Klime Montuese -30
    998.00
    PIJATE SALAD BOWL 25X24cm
    PIJATE SALAD BOWL 25X24cm
    Qty: 1
    Price: 4.99
    4.99
    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); });