Log in

You dont have an account yet? Register Now

10
    10
    Shporta e juaj!
    ROWENTA EP2900F0 Depilator Spirit
    ROWENTA EP2900F0 Depilator Spirit
    Qty: 1
    Price: 49.90
    49.90
    TCL TAC-12CHSD/TPG11 Inverter -20 WiFi
    TCL TAC-12CHSD/TPG11 Inverter -20 WiFi
    Qty: 1
    Price: 499.00
    499.00
    DESSINI VP5A Drejtuese per Floke
    DESSINI VP5A Drejtuese per Floke
    Qty: 1
    Price: 29.90
    29.90
    BRUNO BR-12CHSD/TP41i3A Klime Montuese -30
    499.00
    Nordix BSS016I Furre + Pllake SET
    Nordix BSS016I Furre + Pllake SET
    Qty: 1
    Price: Çmimi origjinal qe: €399.00.Çmimi i tanishëm është: €269.00.
    Save 130.00
    269.00
    Xiaomi  Mi WI-FI Range Extender N300 White EU
    Xiaomi Mi WI-FI Range Extender N300 White EU
    Qty: 1
    Price: Çmimi origjinal qe: €19.90.Çmimi i tanishëm është: €14.90.
    Save 5.00
    14.90
    MS D105 Ftohes Laptopi
    MS D105 Ftohes Laptopi
    Qty: 1
    Price: 14.90
    14.90
    MS O300 Wrist Pad
    MS O300 Wrist Pad
    Qty: 1
    Price: 9.90
    9.90
    CANYON GK-55 Tastjere Gaming Comestrike
    59.99
    Electrolux EIV83443CT pllakë induksion 80 cm
    Electrolux EIV83443CT pllakë induksion 80 cm
    Qty: 1
    Price: Çmimi origjinal qe: €899.00.Çmimi i tanishëm është: €749.00.
    Save 150.00
    749.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); });