Log in

You dont have an account yet? Register Now

9
    9
    Shporta e juaj!
    Arielli 32N215VDA. TV QLED
    Arielli 32N215VDA. TV QLED
    Qty: 1
    Price: Çmimi origjinal qe: €199.00.Çmimi i tanishëm është: €119.00.
    Save 80.00
    119.00
    ECOLUX ECO-RA15F, Radiator Ecolux
    ECOLUX ECO-RA15F, Radiator Ecolux
    Qty: 1
    Price: 139.00
    139.00
    ELECTROLUX EEA17200L Enelarese Montuese
    ELECTROLUX EEA17200L Enelarese Montuese
    Qty: 1
    Price: 549.00
    549.00
    Midea D100-20EFN1 BOJLER
    Midea D100-20EFN1 BOJLER
    Qty: 1
    Price: Çmimi origjinal qe: €199.00.Çmimi i tanishëm është: €179.00.
    Save 20.00
    179.00
    SET USHQIMI 1/24 - T5301
    SET USHQIMI 1/24 - T5301
    Qty: 1
    Price: 59.99
    59.99
    VIVAX WTL-120715CB, Lavatrice 7 Kg
    VIVAX WTL-120715CB, Lavatrice 7 Kg
    Qty: 1
    Price: Çmimi origjinal qe: €449.00.Çmimi i tanishëm është: €319.00.
    Save 130.00
    319.00
    DALING DL-3023FEN PER FLOK
    DALING DL-3023FEN PER FLOK
    Qty: 1
    Price: 7.99
    7.99
    Furrë Montuese VIVAX BO-606FAHTM X
    Furrë Montuese VIVAX BO-606FAHTM X
    Qty: 1
    Price: Çmimi origjinal qe: €229.00.Çmimi i tanishëm është: €129.00.
    Save 100.00
    129.00
    Vendmbajtëse
    Vluese Uji - Dessini DS-30SS
    Qty: 1
    Price: 19.99
    19.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); });