Log in

You dont have an account yet? Register Now

13
    13
    Shporta e juaj!
    TCL TAC-09CHSD/XAB1IHB Kondicioner -30C
    TCL TAC-09CHSD/XAB1IHB Kondicioner -30C
    Qty: 1
    Price: 399.00
    399.00
    XIAOMI Wireless Mouse Lite 2 Black GL
    XIAOMI Wireless Mouse Lite 2 Black GL
    Qty: 1
    Price: 14.90
    14.90
    SAMSUNG LS25BG400EUXEN Monitor 240Hz
    SAMSUNG LS25BG400EUXEN Monitor 240Hz
    Qty: 1
    Price: 319.00
    319.00
    XIAOMI Redmi Watch 5 Active Midnight Black
    69.90
    MUHLER IWM714WA LAVATRIQE 7 KG
    MUHLER IWM714WA LAVATRIQE 7 KG
    Qty: 1
    Price: Çmimi origjinal qe: €349.00.Çmimi i tanishëm është: €249.00.
    Save 100.00
    249.00
    Furrë Nordix BOS118B
    Furrë Nordix BOS118B
    Qty: 1
    Price: 249.00
    249.00
    XIAOMI MI Compact Bluetooth Speaker 2
    XIAOMI MI Compact Bluetooth Speaker 2
    Qty: 1
    Price: 14.90
    14.90
    ELECTROLUX EOF3H50BK Furrë Montuese
    ELECTROLUX EOF3H50BK Furrë Montuese
    Qty: 1
    Price: Çmimi origjinal qe: €379.00.Çmimi i tanishëm është: €249.00.
    Save 130.00
    249.00
    XIAOMI Redmi Watch 5 Silver Gray
    XIAOMI Redmi Watch 5 Silver Gray
    Qty: 1
    Price: 179.00
    179.00
    FAVORIT AC 12000BTU JD HB Klime Montuese
    569.00
    TEFAL HT412138 Mikser 450W me kofe
    TEFAL HT412138 Mikser 450W me kofe
    Qty: 1
    Price: 69.90
    69.90
    CAYNON HSET-W5 ENkeyboard -mouse WHITE
    39.90
    XIAOMI Mi 33W Wall Charger Type-A, TypeC
    24.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); });