Log in

You dont have an account yet? Register Now

12
    12
    Shporta e juaj!
    Vendmbajtëse
    Blender - HOFFMANS HM-2075
    Qty: 1
    Price: 29.99
    29.99
    ELECTROLUX LHR3210CK Pllake Montuese
    ELECTROLUX LHR3210CK Pllake Montuese
    Qty: 1
    Price: 179.00
    179.00
    TMB NSB-2500 Kalorifer
    TMB NSB-2500 Kalorifer
    Qty: 1
    Price: 39.90
    39.90
    TCL TAC-18CHSD/XA73I Klime Montuese -20
    TCL TAC-18CHSD/XA73I Klime Montuese -20
    Qty: 1
    Price: 749.00
    749.00
    AOC 27G2SPAE/BK 27 inch Monitor
    AOC 27G2SPAE/BK 27 inch Monitor
    Qty: 1
    Price: 299.00
    299.00
    LG 75UR78003LK, 4K Smart TV
    LG 75UR78003LK, 4K Smart TV
    Qty: 1
    Price: Çmimi origjinal qe: €929.00.Çmimi i tanishëm është: €749.00.
    Save 180.00
    749.00
    MIDEA MDRB424FGF01I
    MIDEA MDRB424FGF01I
    Qty: 1
    Price: Çmimi origjinal qe: €499.00.Çmimi i tanishëm është: €359.00.
    Save 140.00
    359.00
    AOC 24B2XHM Monitor 75Hz 24INCH
    AOC 24B2XHM Monitor 75Hz 24INCH
    Qty: 1
    Price: 179.00
    179.00
    LUIGI FERRERO FR-1842 LUG SILIKONI
    LUIGI FERRERO FR-1842 LUG SILIKONI
    Qty: 1
    Price: 4.49
    4.49
    XIAOMI REDMI BUDS 6 Play Black
    XIAOMI REDMI BUDS 6 Play Black
    Qty: 1
    Price: 24.90
    24.90
    DIPLOMAT DAW-240 Klime 24BTU -30 A+++
    DIPLOMAT DAW-240 Klime 24BTU -30 A+++
    Qty: 1
    Price: 999.00
    999.00
    Xiaomi Redmi Buds 6 Active
    Xiaomi Redmi Buds 6 Active
    Qty: 1
    Price: 24.90
    24.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); });