Log in

You dont have an account yet? Register Now

14
    14
    Shporta e juaj!
    WHITE SHARK GM 5010 Maus Gaming Warlock
    19.90
    CANYON MP-10 MAUSPAD gaming
    CANYON MP-10 MAUSPAD gaming
    Qty: 1
    Price: 19.00
    19.00
    ROWENTA EP1048F0 Depilator Fashionista
    49.99
    MS C510 Maus Gaming
    MS C510 Maus Gaming
    Qty: 1
    Price: 29.90
    29.90
    MS O300 Wrist Pad
    MS O300 Wrist Pad
    Qty: 1
    Price: 9.90
    9.90
    MS P300 Mbajtes Laptopi
    MS P300 Mbajtes Laptopi
    Qty: 1
    Price: 14.90
    14.90
    MS C106 Maus
    MS C106 Maus
    Qty: 1
    Price: 4.90
    4.90
    HOOVER HLEC8TG-S Tharese 8 KG
    HOOVER HLEC8TG-S Tharese 8 KG
    Qty: 2
    Price: Çmimi origjinal qe: €349.00.Çmimi i tanishëm është: €279.00.
    Save 140.00
    558.00
    MS L510 Mauspad
    MS L510 Mauspad
    Qty: 1
    Price: 9.90
    9.90
    MIDEA MCMI259GDIP Mikrovale Montuese
    MIDEA MCMI259GDIP Mikrovale Montuese
    Qty: 1
    Price: Çmimi origjinal qe: €279.00.Çmimi i tanishëm është: €199.00.
    Save 80.00
    199.00
    ROWENTA EP2900F0 Depilator Spirit
    ROWENTA EP2900F0 Depilator Spirit
    Qty: 1
    Price: 49.90
    49.90
    CANYON GK-55 Tastjere Gaming Comestrike
    59.99
    MIDEA MDRB424FGF01I
    MIDEA MDRB424FGF01I
    Qty: 1
    Price: 499.00
    499.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); });