Log in

You dont have an account yet? Register Now

10
    10
    Shporta e juaj!
    VENUS MWO 102 Mikrovale INOX
    VENUS MWO 102 Mikrovale INOX
    Qty: 1
    Price: 179.00
    179.00
    MSGW I5 I104 PC GAMING
    MSGW I5 I104 PC GAMING
    Qty: 1
    Price: 749.00
    749.00
    Vendmbajtëse
    FANTOM WF 4700 Thithse Eco
    Qty: 1
    Price: 69.00
    69.00
    D-Link DIR-809/E Router
    D-Link DIR-809/E Router
    Qty: 1
    Price: 39.90
    39.90
    CHIQ 50QM10GP
    CHIQ 50QM10GP
    Qty: 1
    Price: Çmimi origjinal qe: €399.00.Çmimi i tanishëm është: €279.00.
    Save 120.00
    279.00
    ARIELLI 55UD15GTV, TV QLED
    ARIELLI 55UD15GTV, TV QLED
    Qty: 1
    Price: Çmimi origjinal qe: €449.00.Çmimi i tanishëm është: €319.00.
    Save 130.00
    319.00
    Hoover NDEH11A2TCBEXS-S  RROBA THARESE  11 KG
    Hoover NDEH11A2TCBEXS-S RROBA THARESE 11 KG
    Qty: 2
    Price: Çmimi origjinal qe: €669.00.Çmimi i tanishëm është: €449.00.
    Save 440.00
    898.00
    Hoffmans HM-753 Mini Furre
    Hoffmans HM-753 Mini Furre
    Qty: 1
    Price: Çmimi origjinal qe: €129.90.Çmimi i tanishëm është: €89.90.
    Save 40.00
    89.90
    SAMSUNG QE65Q7FAAUXXH, QLED
    SAMSUNG QE65Q7FAAUXXH, QLED
    Qty: 1
    Price: Çmimi origjinal qe: €759.00.Çmimi i tanishëm është: €599.00.
    Save 160.00
    599.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); });