Log in

You dont have an account yet? Register Now

12
    12
    Shporta e juaj!
    VIVAX BS-260 Bluetooth Speaker
    VIVAX BS-260 Bluetooth Speaker
    Qty: 1
    Price: 69.90
    69.90
    Enëlarëse Nordix FDV6124S-FS
    Enëlarëse Nordix FDV6124S-FS
    Qty: 1
    Price: 249.00
    249.00
    KORKMAZ A3937 NORA FERTERE PER PANCAKE 26CM KERAMIK
    14.99
    VIVAX EG-4020HZ Grill Elektrik
    VIVAX EG-4020HZ Grill Elektrik
    Qty: 1
    Price: 44.90
    44.90
    VIVAX DWB-601252C Enelarese Full Montuese
    319.00
    XIAOMI REDMI NOTE 13 Pro 8/256GB Midnight Black
    XIAOMI REDMI NOTE 13 Pro 8/256GB Midnight Black
    Qty: 1
    Price: Çmimi origjinal qe: €429.00.Çmimi i tanishëm është: €299.00.
    Save 130.00
    299.00
    WHITE SHARK GBP-007 Qante Laptopi
    WHITE SHARK GBP-007 Qante Laptopi
    Qty: 1
    Price: 19.90
    19.90
    XIAOMI Mi Smart Scale 2 (Peshore) (Copy)
    XIAOMI Mi Smart Scale 2 (Peshore) (Copy)
    Qty: 1
    Price: Çmimi origjinal qe: €19.90.Çmimi i tanishëm është: €14.90.
    Save 5.00
    14.90
    VIVAX KS-502G Peshore Kuzhine
    VIVAX KS-502G Peshore Kuzhine
    Qty: 1
    Price: 14.90
    14.90
    VENUS V3-02 Pllake Montuese
    VENUS V3-02 Pllake Montuese
    Qty: 1
    Price: 99.00
    99.00
    XIAOMI Redmi Note 13 6/128GB Midnight Black
    XIAOMI Redmi Note 13 6/128GB Midnight Black
    Qty: 1
    Price: Çmimi origjinal qe: €249.00.Çmimi i tanishëm është: €179.00.
    Save 70.00
    179.00
    DESSINI TJ-2601 MAKINE QETHJE
    DESSINI TJ-2601 MAKINE QETHJE
    Qty: 1
    Price: 14.99
    14.99
    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); });