from django.shortcuts import render

def product_list_demo(request):
    demo_products = [
        {
            "name": "Aceite vegetal 900 ml",
            "category": "Abarrotes",
            "price": 1890,
            "sku": "ACE-900-01",
            "badge": "Destacado",
            "image": "img/products/aceite-900.webp",
        },
        {
            "name": "Detergente líquido 3 L",
            "category": "Limpieza",
            "price": 5990,
            "sku": "DET-3L-02",
            "badge": "Nuevo",
            "image": "img/products/detergente-3l.webp",
        },
        {
            "name": "Bebida cola 1.5 L",
            "category": "Bebidas",
            "price": 1590,
            "sku": "BEB-15-03",
            "image": "img/products/bebida-cola-15.webp",
        },
        {
            "name": "Papel higiénico 18 unidades",
            "category": "Higiene",
            "price": 8990,
            "sku": "PAP-18-04",
            "image": "img/products/papel-higienico-18.webp",
        },
        {
            "name": "Arroz grano largo 1 kg",
            "category": "Abarrotes",
            "price": 1390,
            "sku": "ARR-1K-05",
            "image": "img/products/arroz-1k.webp",
        },
        {
            "name": "Cloro gel 1 L",
            "category": "Limpieza",
            "price": 1990,
            "sku": "CLO-1L-06",
            "image": "img/products/cloro-gel-1l.webp",
        },
    ]

    context = {"products": demo_products}
    return render(request, "products/product_list_demo.html", context)
