Log in

You dont have an account yet? Register Now

13
    13
    Shporta e juaj!
    VIVAX HM-303WG Mikser Dore
    VIVAX HM-303WG Mikser Dore
    Qty: 1
    Price: 19.90
    19.90
    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
    FAVORIT AC 12000BTU JD HB Klime Montuese
    569.00
    TEFAL FF230831 Fritez 1000W Principio
    TEFAL FF230831 Fritez 1000W Principio
    Qty: 1
    Price: 69.90
    69.90
    Furrë Montuese VIVAX BO-608FAHTD X
    Furrë Montuese VIVAX BO-608FAHTD X
    Qty: 1
    Price: Çmimi origjinal qe: €249.00.Çmimi i tanishëm është: €179.00.
    Save 70.00
    179.00
    Frigorifer i kombinuar VIVAX CF-378DNF BG
    549.00
    FERTERE MUHLER MR- 2233
    FERTERE MUHLER MR- 2233
    Qty: 1
    Price: 11.99
    11.99
    XIAOMI REDMI Power Bank 10.000mAh
    XIAOMI REDMI Power Bank 10.000mAh
    Qty: 1
    Price: Çmimi origjinal qe: €24.90.Çmimi i tanishëm është: €19.90.
    Save 5.00
    19.90
    Radiator 13-brinje 2500W ZLN3673
    Radiator 13-brinje 2500W ZLN3673
    Qty: 1
    Price: 59.00
    59.00
    VIVAX TTR-93 Frigorifer
    VIVAX TTR-93 Frigorifer
    Qty: 1
    Price: 159.00
    159.00
    MIDEA MBMTG25E-X  MIKROVALE MONTUESE
    MIDEA MBMTG25E-X MIKROVALE MONTUESE
    Qty: 1
    Price: 249.00
    249.00
    VIVAX TS-7501BLS Toster
    VIVAX TS-7501BLS Toster
    Qty: 1
    Price: 29.90
    29.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); });