Log in

You dont have an account yet? Register Now

11
    11
    Shporta e juaj!
    Floria gjezve per kafe 600W
    Floria gjezve per kafe 600W
    Qty: 1
    Price: 12.90
    12.90
    DESSINI DS-5582 Fen Per Floke
    DESSINI DS-5582 Fen Per Floke
    Qty: 1
    Price: 29.90
    29.90
    D-LINK GO-SW-8G SWITCH
    D-LINK GO-SW-8G SWITCH
    Qty: 1
    Price: 14.90
    14.90
    XIAOMI REDMI Power Bank 10.000mAh
    XIAOMI REDMI Power Bank 10.000mAh
    Qty: 1
    Price: 24.90
    24.90
    VIVAX ACP-12CH35AEHI/Is--Os GOLD Klime
    VIVAX ACP-12CH35AEHI/Is--Os GOLD Klime
    Qty: 1
    Price: Çmimi origjinal qe: €659.00.Çmimi i tanishëm është: €579.00.
    Save 80.00
    579.00
    ECOLUX ECO-RA15F, Radiator Ecolux
    ECOLUX ECO-RA15F, Radiator Ecolux
    Qty: 1
    Price: 139.00
    139.00
    Tefal Peshore PP1401V0 deri 150 kg
    Tefal Peshore PP1401V0 deri 150 kg
    Qty: 1
    Price: 24.90
    24.90
    VENUS MWO 102 Mikrovale INOX
    VENUS MWO 102 Mikrovale INOX
    Qty: 1
    Price: 179.00
    179.00
    XIAOMI REDMI BUDS 4 Lite-Black
    XIAOMI REDMI BUDS 4 Lite-Black
    Qty: 1
    Price: Çmimi origjinal qe: €29.90.Çmimi i tanishëm është: €19.90.
    Save 10.00
    19.90
    ARZUM AR004-T Aparat per Kafe Kaft
    ARZUM AR004-T Aparat per Kafe Kaft
    Qty: 1
    Price: 59.90
    59.90
    XIAOMI H101 Fen compakt Pink
    XIAOMI H101 Fen compakt Pink
    Qty: 1
    Price: Çmimi origjinal qe: €34.90.Çmimi i tanishëm është: €24.90.
    Save 10.00
    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); });