Log in

You dont have an account yet? Register Now

11
    11
    Shporta e juaj!
    Xiaomi Redmi Buds 6 Active
    Xiaomi Redmi Buds 6 Active
    Qty: 1
    Price: Çmimi origjinal qe: €24.90.Çmimi i tanishëm është: €19.90.
    Save 5.00
    19.90
    VENUS BIH 60100, Pllake Montuese
    VENUS BIH 60100, Pllake Montuese
    Qty: 1
    Price: 199.00
    199.00
    VIVAX TS-7501WHS Toster
    VIVAX TS-7501WHS Toster
    Qty: 1
    Price: 19.90
    19.90
    XIAOMI Redmi Watch 5 Active Midnight Black
    XIAOMI Redmi Watch 5 Active Midnight Black
    Qty: 1
    Price: Çmimi origjinal qe: €69.90.Çmimi i tanishëm është: €37.90.
    Save 32.00
    37.90
    ADF CTB 1860 G Aspirator Terheqes Inox
    99.00
    XIAOMI REDMI Note 12 Pro 8/256GB Glacier Blue (Dhurate, CASE & Mbushes 67W)
    XIAOMI REDMI Note 12 Pro 8/256GB Glacier Blue (Dhurate, CASE & Mbushes 67W)
    Qty: 1
    Price: Çmimi origjinal qe: €459.00.Çmimi i tanishëm është: €255.00.
    Save 204.00
    255.00
    Ndriçues - GM4-8
    Ndriçues - GM4-8
    Qty: 1
    Price: 59.99
    59.99
    KORKMAZ A227-02 GJYGYM QAJI ERNA GOLD
    KORKMAZ A227-02 GJYGYM QAJI ERNA GOLD
    Qty: 1
    Price: 54.99
    54.99
    LUIGI FERRERO FR-2446 SET LUGESH
    LUIGI FERRERO FR-2446 SET LUGESH
    Qty: 1
    Price: 44.99
    44.99
    XIAOMI Mi AC1200 Extender EU
    XIAOMI Mi AC1200 Extender EU
    Qty: 1
    Price: Çmimi origjinal qe: €34.90.Çmimi i tanishëm është: €24.90.
    Save 10.00
    24.90
    VIVAX TS-7503WH Toster
    VIVAX TS-7503WH Toster
    Qty: 1
    Price: 19.90
    19.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); });