Log in

You dont have an account yet? Register Now

11
    11
    Shporta e juaj!
    TMB FH-15 Kalorifer
    TMB FH-15 Kalorifer
    Qty: 1
    Price: 29.90
    29.90
    Ndriçues - GM1-5
    Ndriçues - GM1-5
    Qty: 1
    Price: 69.99
    69.99
    SAMSUNG LC27G55TQWRXEN WQHD Curved HDMI DP
    249.00
    TMB NSB-2500 Kalorifer
    TMB NSB-2500 Kalorifer
    Qty: 1
    Price: 39.90
    39.90
    VIVAX ACP-12CH35AEHI/Is--Os GOLD Klime
    VIVAX ACP-12CH35AEHI/Is--Os GOLD Klime
    Qty: 1
    Price: Çmimi origjinal qe: €659.00.Çmimi i tanishëm është: €579.00.
    Save 80.00
    579.00
    ROWENTA SF321LFO Drejtuese Per Floke
    ROWENTA SF321LFO Drejtuese Per Floke
    Qty: 1
    Price: 29.90
    29.90
    VIVAX ACP-12CH35REWI/I INVERTER -20C A+++
    VIVAX ACP-12CH35REWI/I INVERTER -20C A+++
    Qty: 1
    Price: Çmimi origjinal qe: €699.00.Çmimi i tanishëm është: €579.00.
    Save 120.00
    579.00
    XIAOMI KIT PRO Makin per Qethje
    XIAOMI KIT PRO Makin per Qethje
    Qty: 1
    Price: Çmimi origjinal qe: €54.90.Çmimi i tanishëm është: €39.90.
    Save 15.00
    39.90
    ADF CTB 1352 B Aspirator Full Montues, Black
    99.00
    NutriBullet NB907BL Blender Blue 900 W
    NutriBullet NB907BL Blender Blue 900 W
    Qty: 1
    Price: 119.00
    119.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); });