Log in

You dont have an account yet? Register Now

13
    13
    Shporta e juaj!
    Hekur me Avull - Dessini DS‑888
    Hekur me Avull - Dessini DS‑888
    Qty: 1
    Price: 49.99
    49.99
    Midea Bojler D80-20EFN1 80 L
    Midea Bojler D80-20EFN1 80 L
    Qty: 1
    Price: Çmimi origjinal qe: €159.00.Çmimi i tanishëm është: €129.00.
    Save 30.00
    129.00
    OVLENG Kufje GT92
    OVLENG Kufje GT92
    Qty: 1
    Price: 39.99
    39.99
    SAMSUNG WW90T4020EE1LE Lavatriqe 9KG
    SAMSUNG WW90T4020EE1LE Lavatriqe 9KG
    Qty: 1
    Price: 599.00
    599.00
    Mikroval Hansa AMGF17M2BH
    Mikroval Hansa AMGF17M2BH
    Qty: 1
    Price: 99.90
    99.90
    VIVAX CM-1000WH APARAT PER KAFE
    VIVAX CM-1000WH APARAT PER KAFE
    Qty: 1
    Price: 14.90
    14.90
    ECOLUX ECO V129SN BLK, Frigorifer me Display
    279.00
    VIVIO VV-205 Thithese Me Uje
    VIVIO VV-205 Thithese Me Uje
    Qty: 1
    Price: 139.00
    139.00
    Xiaomi Redmi Buds 6 Active
    Xiaomi Redmi Buds 6 Active
    Qty: 1
    Price: 24.90
    24.90
    MS C105 Mbajtes Telefoni Per Veture
    MS C105 Mbajtes Telefoni Per Veture
    Qty: 1
    Price: 4.90
    4.90
    BRUNO CBR-12DE Klime Montuese -20, Shine Luxory
    499.00
    VIVAX MWO-2078 Mikrovale
    VIVAX MWO-2078 Mikrovale
    Qty: 1
    Price: 89.00
    89.00
    ELECTROLUX EHM3310 Mikser Dore 450W
    ELECTROLUX EHM3310 Mikser Dore 450W
    Qty: 1
    Price: 29.90
    29.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); });