Log in

You dont have an account yet? Register Now

12
    12
    Shporta e juaj!
    Akel nxemse AS1210 me 3+2 tela 2900W
    Akel nxemse AS1210 me 3+2 tela 2900W
    Qty: 1
    Price: 39.90
    39.90
    DESSINI DS-5583 Fen per Floke
    DESSINI DS-5583 Fen per Floke
    Qty: 1
    Price: 29.90
    29.90
    ROWENTA TN3400F0 Makine e Rrojes
    ROWENTA TN3400F0 Makine e Rrojes
    Qty: 1
    Price: 49.90
    49.90
    XIAOMI Mi Band 8 (black) EU
    XIAOMI Mi Band 8 (black) EU
    Qty: 1
    Price: Çmimi origjinal qe: €69.90.Çmimi i tanishëm është: €49.00.
    Save 20.90
    49.00
    HOOVER HLEC8TG-S Tharese 8 KG
    HOOVER HLEC8TG-S Tharese 8 KG
    Qty: 1
    Price: Çmimi origjinal qe: €349.00.Çmimi i tanishëm është: €279.00.
    Save 70.00
    279.00
    VENUS MWO 102 Mikrovale INOX
    VENUS MWO 102 Mikrovale INOX
    Qty: 1
    Price: 179.00
    179.00
    ARZUM OK0013-X Aparat i Kafese Turke
    ARZUM OK0013-X Aparat i Kafese Turke
    Qty: 1
    Price: 44.90
    44.90
    Xiaomi Redmi Buds 6 Active Blue
    Xiaomi Redmi Buds 6 Active Blue
    Qty: 1
    Price: Çmimi origjinal qe: €29.90.Çmimi i tanishëm është: €19.90.
    Save 10.00
    19.90
    VOX MS984 Mixer
    VOX MS984 Mixer
    Qty: 1
    Price: 14.90
    14.90
    CASE
    MSI V315 Case per PC Gaming
    Qty: 1
    Price: 79.00
    79.00
    ARZUM AR5201 Makine per Rroje pa kabell
    29.90
    KORKMAZ A227-02 GJYGYM QAJI ERNA GOLD
    KORKMAZ A227-02 GJYGYM QAJI ERNA GOLD
    Qty: 1
    Price: 54.99
    54.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); });