Log in

You dont have an account yet? Register Now

12
    12
    Shporta e juaj!
    ADF CTB 1352 B Aspirator Full Montues, Black
    198.00
    SAMSUNG SM-X200 Tablet 4/64GB
    SAMSUNG SM-X200 Tablet 4/64GB
    Qty: 1
    Price: Çmimi origjinal qe: €239.00.Çmimi i tanishëm është: €159.00.
    Save 80.00
    159.00
    GOREX GRX F 60BLK Furre Montuese
    GOREX GRX F 60BLK Furre Montuese
    Qty: 1
    Price: 299.00
    299.00
    MIDEA 7NM30E0B, Furre Montuese e Zeze
    MIDEA 7NM30E0B, Furre Montuese e Zeze
    Qty: 1
    Price: Çmimi origjinal qe: €419.00.Çmimi i tanishëm është: €299.00.
    Save 120.00
    299.00
    TMB NSB-2500 Kalorifer
    TMB NSB-2500 Kalorifer
    Qty: 1
    Price: 39.90
    39.90
    SAMSUNG NQ5B4553FBK/U3 Mikrovale Montuese
    849.00
    ARZUM AR004-T Aparat per Kafe Kaft
    ARZUM AR004-T Aparat per Kafe Kaft
    Qty: 1
    Price: 59.90
    59.90
    ELECTROLUX EKF3300 Aparat Per Kafe
    ELECTROLUX EKF3300 Aparat Per Kafe
    Qty: 2
    Price: 59.90
    119.80
    TCL TAC-18CHSD/XA73I Klime Montuese -20
    TCL TAC-18CHSD/XA73I Klime Montuese -20
    Qty: 1
    Price: 749.00
    749.00
    TCL TAC-12CHSD/TPG11 Inverter -20 WiFi
    TCL TAC-12CHSD/TPG11 Inverter -20 WiFi
    Qty: 1
    Price: 499.00
    499.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); });