Recently Viewed Products

Log in

You dont have an account yet? Register Now

11
    11
    Shporta e juaj!
    Ndriçues - GM4-10
    Ndriçues - GM4-10
    Qty: 1
    Price: 69.99
    69.99
    Redmi Pad SE 8.7 Blue 4+128GB
    Redmi Pad SE 8.7 Blue 4+128GB
    Qty: 1
    Price: 199.00
    199.00
    Ecolux Enlarese EMO1423 SB
    Ecolux Enlarese EMO1423 SB
    Qty: 1
    Price: 399.00
    399.00
    Tefal Peshore PP1401V0 deri 150 kg
    Tefal Peshore PP1401V0 deri 150 kg
    Qty: 1
    Price: 24.90
    24.90
    Midea EZ-18RD6 KLIME BLACK
    Midea EZ-18RD6 KLIME BLACK
    Qty: 1
    Price: 900.00
    900.00
    SAMSUNG MS23F301TAK/OL Mikrovale
    SAMSUNG MS23F301TAK/OL Mikrovale
    Qty: 1
    Price: 149.00
    149.00
    WHITE SHARK GBP 006 Qante Gaming
    WHITE SHARK GBP 006 Qante Gaming
    Qty: 1
    Price: 19.90
    19.90
    LG SH5A SOUND BAR
    LG SH5A SOUND BAR
    Qty: 1
    Price: Çmimi origjinal qe: €499.00.Çmimi i tanishëm është: €349.00.
    Save 150.00
    349.00
    ADF CTB 1040 B
    ADF CTB 1040 B
    Qty: 1
    Price: 99.90
    99.90
    VIVAX VC-1604 Thithëse Elektrike
    VIVAX VC-1604 Thithëse Elektrike
    Qty: 1
    Price: 49.90
    49.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); });