Log in

You dont have an account yet? Register Now

13
    13
    Shporta e juaj!
    MSI Monitor MAG 255F E20,24.5" rapid IPS,FHD
    249.00
    MUHLER MLC-6050 Multicooker
    MUHLER MLC-6050 Multicooker
    Qty: 1
    Price: 139.00
    139.00
    OVLENG Kufje GT92
    OVLENG Kufje GT92
    Qty: 1
    Price: 39.99
    39.99
    FOBEM TV 40" ML40EW4000F FULL HD
    FOBEM TV 40" ML40EW4000F FULL HD
    Qty: 1
    Price: 249.00
    249.00
    BRUNO BR-12CHSD/TP41i3A Klime Montuese -30
    499.00
    RAZER E2 Mauspad 44 x 35cm
    RAZER E2 Mauspad 44 x 35cm
    Qty: 1
    Price: 9.90
    9.90
    CANYON MP-10 MAUSPAD gaming
    CANYON MP-10 MAUSPAD gaming
    Qty: 1
    Price: 19.00
    19.00
    MUHLER MHT-383 Aparat per Krepa 30Cm
    MUHLER MHT-383 Aparat per Krepa 30Cm
    Qty: 1
    Price: 49.90
    49.90
    HP CS10 COMBO Tastier & Maus
    HP CS10 COMBO Tastier & Maus
    Qty: 1
    Price: 29.90
    29.90
    HP K300 Tastier Gaming
    HP K300 Tastier Gaming
    Qty: 1
    Price: 19.99
    19.99
    Nordix BSS016I Furre + Pllake SET
    Nordix BSS016I Furre + Pllake SET
    Qty: 1
    Price: Çmimi origjinal qe: €399.00.Çmimi i tanishëm është: €269.00.
    Save 130.00
    269.00
    DESSINI VP5A Drejtuese per Floke
    DESSINI VP5A Drejtuese per Floke
    Qty: 1
    Price: 29.90
    29.90
    FANTOM WD 2750 S Thithëse Eco
    FANTOM WD 2750 S Thithëse Eco
    Qty: 1
    Price: 89.90
    89.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); });