Add those files

This commit is contained in:
2026-02-17 09:53:44 +01:00
parent 5a22d3abae
commit c4fdd13f49
13 changed files with 55 additions and 11 deletions
+1 -1
View File
@@ -50,7 +50,7 @@
<div class="col-12 col-sm-6 col-md-4 col-lg-3">
<div class="card product-card h-100">
{% if product.primary_image %}
<img src="{{ product.primary_image.image.url }}" class="card-img-top" alt="{{ product.name }}" style="height: 250px; object-fit: cover;">
<img src="{{ product.primary_image.image.url }}" class="card-img-top" alt="{{ product.primary_image.alt|default:product.name }}" style="height: 250px; object-fit: cover;">
{% else %}
<div class="card-img-top bg-light d-flex align-items-center justify-content-center" style="height: 250px;">
<span class="text-muted">Sin imagen</span>