Log in

You dont have an account yet? Register Now

12
    12
    Shporta e juaj!
    Thithese FANTOM DU 1700
    Thithese FANTOM DU 1700
    Qty: 1
    Price: 99.90
    99.90
    VENUS V3-02 Pllake Montuese
    VENUS V3-02 Pllake Montuese
    Qty: 1
    Price: 99.00
    99.00
    WHITE SHARK GMS 3202 Mbajtes I Monitorave
    99.00
    VIVAX VCC-850G Astro Thithëse Elektrike
    VIVAX VCC-850G Astro Thithëse Elektrike
    Qty: 1
    Price: Çmimi origjinal qe: €79.90.Çmimi i tanishëm është: €59.00.
    Save 20.90
    59.00
    MSAG-18HRFN8-I /MSAG-18HRFN8
    MSAG-18HRFN8-I /MSAG-18HRFN8
    Qty: 1
    Price: 630.00
    630.00
    GOTA UJI
    GOTA UJI
    Qty: 1
    Price: 3.99
    3.99
    Frigoriferi VIVAX HOME CF-310 NFX - i kombinuar
    449.00
    SAMSUNG RB34C652ESA/EK Frigorifer
    SAMSUNG RB34C652ESA/EK Frigorifer
    Qty: 1
    Price: 849.00
    849.00
    KORKMAZ A1028 ALFA TENGJERE
    KORKMAZ A1028 ALFA TENGJERE
    Qty: 1
    Price: 54.99
    54.99
    Ecolux Aspirator  T52 BLK
    Ecolux Aspirator T52 BLK
    Qty: 1
    Price: 99.90
    99.90
    Hoffmans Toster - Grill HM-3041
    Hoffmans Toster - Grill HM-3041
    Qty: 1
    Price: 29.99
    29.99
    Midea EZ-12RD6 BLACK
    Midea EZ-12RD6 BLACK
    Qty: 1
    Price: 660.00
    660.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); });