Recently Viewed Products

Log in

You dont have an account yet? Register Now

11
    11
    Shporta e juaj!
    PJATA PER GRIMCIRA-KK-25-4
    PJATA PER GRIMCIRA-KK-25-4
    Qty: 1
    Price: 13.99
    13.99
    D-LINK Range Extender DAP-1325
    D-LINK Range Extender DAP-1325
    Qty: 1
    Price: 34.90
    34.90
    Klime multi outdoor unit Midea M3OE-21HFN8
    990.00
    MS Z125 Koke Adapteri
    MS Z125 Koke Adapteri
    Qty: 1
    Price: 7.90
    7.90
    MIDEA AG16BLACK-24NXD6 KLIME
    MIDEA AG16BLACK-24NXD6 KLIME
    Qty: 1
    Price: 1,130.00
    1,130.00
    ORE MURI DEORATIVE
    ORE MURI DEORATIVE
    Qty: 1
    Price: 9.99
    9.99
    Modeli Portable Midea  MMCS-12HRN8
    Modeli Portable Midea MMCS-12HRN8
    Qty: 1
    Price: 780.00
    780.00
    PIKTURA 62x82
    PIKTURA 62x82
    Qty: 1
    Price: 29.99
    29.99
    Midea EZ-18RD6 KLIME BLACK
    Midea EZ-18RD6 KLIME BLACK
    Qty: 1
    Price: 900.00
    900.00
    Midea EZ-24RD6 KLIME BLACK
    Midea EZ-24RD6 KLIME BLACK
    Qty: 1
    Price: 1,150.00
    1,150.00
    Tefal Peshore PP1401V0 deri 150 kg
    Tefal Peshore PP1401V0 deri 150 kg
    Qty: 1
    Price: 24.90
    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); });