Log in

You dont have an account yet? Register Now

10
    10
    Shporta e juaj!
    XIAOMI Redmi Watch 5 Obsidian Black
    XIAOMI Redmi Watch 5 Obsidian Black
    Qty: 1
    Price: Çmimi origjinal qe: €179.00.Çmimi i tanishëm është: €99.00.
    Save 80.00
    99.00
    THIKE ANNIE E MADHE 1/2
    THIKE ANNIE E MADHE 1/2
    Qty: 1
    Price: 8.49
    8.49
    VIVAX DWB-450952C Enelarese Full Montuese
    VIVAX DWB-450952C Enelarese Full Montuese
    Qty: 1
    Price: Çmimi origjinal qe: €319.00.Çmimi i tanishëm është: €229.00.
    Save 90.00
    229.00
    Xiaomi Redmi Buds 6 Active
    Xiaomi Redmi Buds 6 Active
    Qty: 1
    Price: Çmimi origjinal qe: €24.90.Çmimi i tanishëm është: €19.90.
    Save 5.00
    19.90
    AMICA EKGC 16177 | Frigorifer Montues
    AMICA EKGC 16177 | Frigorifer Montues
    Qty: 1
    Price: 399.00
    399.00
    Njesia e brendshme multi Slip Type CBI-18HRFN8-I
    390.00
    ROWENTA EP1048F0 Depilator Fashionista
    49.99
    Xiaomi Type-C Earphones Black
    Xiaomi Type-C Earphones Black
    Qty: 1
    Price: Çmimi origjinal qe: €9.90.Çmimi i tanishëm është: €6.90.
    Save 3.00
    6.90
    MIDEA MCMI259GDIP Mikrovale Montuese
    MIDEA MCMI259GDIP Mikrovale Montuese
    Qty: 1
    Price: 279.00
    279.00
    VIVAX CHO-60BI100T X Aspirator Full Montues
    79.00
    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); });