Log in

You dont have an account yet? Register Now

9
    9
    Shporta e juaj!
    KINGSTON 128Gb, Exodia Black and Yellow
    14.90
    FAVORIT AC 12000BTU JD HB Klime Montuese
    569.00
    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  Oscillation Electric ToothBrush Blue EU
    Xiaomi Oscillation Electric ToothBrush Blue EU
    Qty: 1
    Price: Çmimi origjinal qe: €39.90.Çmimi i tanishëm është: €29.90.
    Save 10.00
    29.90
    ART-42041 QERUESE PER PEME
    ART-42041 QERUESE PER PEME
    Qty: 1
    Price: 1.99
    1.99
    FAVORIT BIH-40 Pllake Montuese
    FAVORIT BIH-40 Pllake Montuese
    Qty: 1
    Price: Çmimi origjinal qe: €299.00.Çmimi i tanishëm është: €119.00.
    Save 180.00
    119.00
    ADF HVTN 1260 4100 Pllake montuese 5 zona
    199.00
    KORKMAZ A2855 GASTRO FERTERE
    KORKMAZ A2855 GASTRO FERTERE
    Qty: 1
    Price: 39.99
    39.99
    ROWENTA SF321LFO Drejtuese Per Floke
    ROWENTA SF321LFO Drejtuese Per Floke
    Qty: 1
    Price: 29.90
    29.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); });