Log in

You dont have an account yet? Register Now

9
    9
    Shporta e juaj!
    GOREX GRX F 60BLK Furre Montuese
    GOREX GRX F 60BLK Furre Montuese
    Qty: 1
    Price: 299.00
    299.00
    EMD MAKINE QETHEJE
    EMD MAKINE QETHEJE
    Qty: 1
    Price: 9.90
    9.90
    Mikser Dore dhe Qëndrues 2-në-1 - DESSINI DS-7288 700W
    Mikser Dore dhe Qëndrues 2-në-1 - DESSINI DS-7288 700W
    Qty: 1
    Price: Çmimi origjinal qe: €49.90.Çmimi i tanishëm është: €24.90.
    Save 25.00
    24.90
    MARADO MA-1688, Aparat per kafe turke
    MARADO MA-1688, Aparat per kafe turke
    Qty: 1
    Price: 49.90
    49.90
    Fen per floke Gama  3900W
    Fen per floke Gama 3900W
    Qty: 1
    Price: 19.90
    19.90
    AMICA BOF5541S Furre Montuese
    AMICA BOF5541S Furre Montuese
    Qty: 1
    Price: 349.00
    349.00
    VIVAX ACP-12CH35AERI/Is--Os SILVER
    VIVAX ACP-12CH35AERI/Is--Os SILVER
    Qty: 1
    Price: Çmimi origjinal qe: €619.00.Çmimi i tanishëm është: €519.00.
    Save 100.00
    519.00
    ARZUM AR3088 Gjezve Per Kafe INOX 800W
    34.90
    SAMSUNG DW60M6050BB/EO ENELARSE MONTUESE 60 cm
    SAMSUNG DW60M6050BB/EO ENELARSE MONTUESE 60 cm
    Qty: 1
    Price: Çmimi origjinal qe: €599.00.Çmimi i tanishëm është: €499.00.
    Save 100.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); });