Log in

You dont have an account yet? Register Now

13
    13
    Shporta e juaj!
    SAMSUNG EP-T4510EXBEGEU 45W ADAPTER
    SAMSUNG EP-T4510EXBEGEU 45W ADAPTER
    Qty: 1
    Price: 39.90
    39.90
    HP 1E7D6AA Qante Llaptopi
    HP 1E7D6AA Qante Llaptopi
    Qty: 1
    Price: 34.90
    34.90
    ADF CTB 1860 G Aspirator Terheqes Inox
    99.00
    Set thika 1/7-ALM-0088 W
    Set thika 1/7-ALM-0088 W
    Qty: 1
    Price: 34.99
    34.99
    ABERT THIKA SET 12PCS
    ABERT THIKA SET 12PCS
    Qty: 1
    Price: 14.99
    14.99
    XIAOMI Mi 33W Wall Charger Type-A, TypeC
    XIAOMI Mi 33W Wall Charger Type-A, TypeC
    Qty: 1
    Price: Çmimi origjinal qe: €24.90.Çmimi i tanishëm është: €19.90.
    Save 5.00
    19.90
    VIVAX WH-180TC Bokall
    VIVAX WH-180TC Bokall
    Qty: 1
    Price: 22.90
    22.90
    ART-42411 TAS DOZER 1L
    ART-42411 TAS DOZER 1L
    Qty: 1
    Price: 2.99
    2.99
    ARZUM AR3088 Gjezve Per Kafe INOX 800W
    34.90
    VIVAX SP-7080 Soundbar
    VIVAX SP-7080 Soundbar
    Qty: 1
    Price: Çmimi origjinal qe: €99.00.Çmimi i tanishëm është: €79.00.
    Save 20.00
    79.00
    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
    VIVAX BH-04TVC Pllakë Montuese
    VIVAX BH-04TVC Pllakë Montuese
    Qty: 1
    Price: 199.00
    199.00
    TEFAL FF230831 Fritez 1000W Principio
    TEFAL FF230831 Fritez 1000W Principio
    Qty: 1
    Price: 69.90
    69.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); });