Log in

You dont have an account yet? Register Now

8
    8
    Shporta e juaj!
    XIAOMI Mi UniBlade Trimmer EU
    XIAOMI Mi UniBlade Trimmer EU
    Qty: 1
    Price: 39.90
    39.90
    SAMSUNG UE85U8072FUXXH, Smart TV
    SAMSUNG UE85U8072FUXXH, Smart TV
    Qty: 1
    Price: Çmimi origjinal qe: €1,799.00.Çmimi i tanishëm është: €1,249.00.
    Save 550.00
    1,249.00
    SAMSUNG QE65Q7FAAUXXH, QLED
    SAMSUNG QE65Q7FAAUXXH, QLED
    Qty: 1
    Price: Çmimi origjinal qe: €759.00.Çmimi i tanishëm është: €599.00.
    Save 160.00
    599.00
    DALING DL-3023 1400W Fen per Floke
    DALING DL-3023 1400W Fen per Floke
    Qty: 1
    Price: Çmimi origjinal qe: €12.90.Çmimi i tanishëm është: €7.90.
    Save 5.00
    7.90
    Vendmbajtëse
    MS M-AL1100W Kabell per Iphone
    Qty: 1
    Price: 4.90
    4.90
    SAMSUNG UE32T4302AKXXH  HD LED TV
    SAMSUNG UE32T4302AKXXH HD LED TV
    Qty: 1
    Price: Çmimi origjinal qe: €299.00.Çmimi i tanishëm është: €199.00.
    Save 100.00
    199.00
    VENUS BIDFI F608, Enelarese Montuese
    VENUS BIDFI F608, Enelarese Montuese
    Qty: 1
    Price: Çmimi origjinal qe: €449.00.Çmimi i tanishëm është: €229.00.
    Save 220.00
    229.00
    Friz VIVAX CFR-250
    Friz VIVAX CFR-250
    Qty: 1
    Price: 299.00
    299.00
    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); });