Log in

You dont have an account yet? Register Now

10
    10
    Shporta e juaj!
    LUIGI FERERRO FR-1950 SHTRUDHESE LIMONI
    3.99
    VIVAX WFL-141012CI Lavatrice 10Kg
    VIVAX WFL-141012CI Lavatrice 10Kg
    Qty: 1
    Price: 499.00
    499.00
    HOFFMANS HM-752, Minifurre 55L 2000W
    HOFFMANS HM-752, Minifurre 55L 2000W
    Qty: 1
    Price: Çmimi origjinal qe: €119.00.Çmimi i tanishëm është: €39.99.
    Save 79.01
    39.99
    XIAOMI Mi Smart Band 8 Active Black
    XIAOMI Mi Smart Band 8 Active Black
    Qty: 1
    Price: Çmimi origjinal qe: €29.90.Çmimi i tanishëm është: €24.90.
    Save 5.00
    24.90
    SHPUZORE POKERI 1/1
    SHPUZORE POKERI 1/1
    Qty: 1
    Price: 1.49
    1.49
    MIDEA 7NM30E0B, Furre Montuese e Zeze
    MIDEA 7NM30E0B, Furre Montuese e Zeze
    Qty: 1
    Price: 419.00
    419.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
    Tharëse VIVAX CDR-0816B
    Tharëse VIVAX CDR-0816B
    Qty: 1
    Price: 349.00
    349.00
    VIVAX 32LE20K_REG Smart TV
    VIVAX 32LE20K_REG Smart TV
    Qty: 1
    Price: 179.00
    179.00
    KORKMAZ A3937 NORA FERTERE PER PANCAKE 26CM KERAMIK
    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); });