Log in

You dont have an account yet? Register Now

10
    10
    Shporta e juaj!
    VIVAX CHO-60PT100T X Aspirator Terheqes
    79.00
    MS B700 Ndegjuese Wireless
    MS B700 Ndegjuese Wireless
    Qty: 1
    Price: 29.90
    29.90
    ARZUM AR5201 Makine per Rroje pa kabell
    29.90
    D-LINK EAGLE PRO AX1500 Smart Router
    D-LINK EAGLE PRO AX1500 Smart Router
    Qty: 1
    Price: 74.90
    74.90
    XIAOMI Mi Tripod Selfie Stick
    XIAOMI Mi Tripod Selfie Stick
    Qty: 1
    Price: Çmimi origjinal qe: €34.90.Çmimi i tanishëm është: €19.90.
    Save 15.00
    19.90
    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
    PHILIPS GC4521/17 Hekur 2600 W
    PHILIPS GC4521/17 Hekur 2600 W
    Qty: 1
    Price: Çmimi origjinal qe: €129.00.Çmimi i tanishëm është: €64.90.
    Save 64.10
    64.90
    ARZUM AR004-T Aparat per Kafe Kaft
    ARZUM AR004-T Aparat per Kafe Kaft
    Qty: 1
    Price: 59.90
    59.90
    FAVORIT 78-D LUX B Furre Montuese
    FAVORIT 78-D LUX B Furre Montuese
    Qty: 1
    Price: Çmimi origjinal qe: €299.00.Çmimi i tanishëm është: €219.00.
    Save 80.00
    219.00
    HP K300 Tastier Gaming
    HP K300 Tastier Gaming
    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); });