Log in

You dont have an account yet? Register Now

17
    17
    Shporta e juaj!
    MS P300 Mbajtes Laptopi
    MS P300 Mbajtes Laptopi
    Qty: 2
    Price: 14.90
    29.80
    XEROX 3025V/NI Printer  Print/Scan/Copy/Wi-Fi
    698.00
    XIAOMI C300 Smart Camera
    XIAOMI C300 Smart Camera
    Qty: 1
    Price: 59.90
    59.90
    Office Line Toner x 3020/3025
    Office Line Toner x 3020/3025
    Qty: 1
    Price: 14.90
    14.90
    XIAOMI MDZ-22-AB MI BOX S
    XIAOMI MDZ-22-AB MI BOX S
    Qty: 1
    Price: Çmimi origjinal qe: €89.90.Çmimi i tanishëm është: €64.90.
    Save 25.00
    64.90
    WHITE SHARK MP 1897 UMETHON MAUSPAD 40x30cm
    9.90
    ELECTROLUX  ENS3SE18S Frigorifer Montues
    ELECTROLUX ENS3SE18S Frigorifer Montues
    Qty: 1
    Price: 699.00
    699.00
    MSI Monitor PRO MP2750, 27 FHD(1900x1080)
    199.00
    MUHLER MHT-383 Aparat per Krepa 30Cm
    MUHLER MHT-383 Aparat per Krepa 30Cm
    Qty: 1
    Price: 49.90
    49.90
    DESSINI DS-5581 FEN PER FLOKE
    DESSINI DS-5581 FEN PER FLOKE
    Qty: 1
    Price: 19.99
    19.99
    LORGAR Circulus 910 Streming Web Camera 5MB
    149.00
    CANYON GK-55 Tastjere Gaming Comestrike
    59.99
    Vendmbajtëse
    119.00
    Xiaomi Double Wall  Electric Kettle
    Xiaomi Double Wall Electric Kettle
    Qty: 1
    Price: Çmimi origjinal qe: €44.90.Çmimi i tanishëm është: €34.90.
    Save 10.00
    34.90
    Xiaomi Mi Electric Kettle 2
    Xiaomi Mi Electric Kettle 2
    Qty: 1
    Price: Çmimi origjinal qe: €59.99.Çmimi i tanishëm është: €34.90.
    Save 25.09
    34.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); });