{% load shop_images shop_texts shop_variants %} {% comment %}Card of the grid and the related row; the price comes from the prefetched stock records (« à partir de » for variants). The « Vendu » / « Épuisé » mention comes from product.card_availability (catalogue_listing.py).{% endcomment %} {% shop_card_price product as card_price %} {% shop_product_image product.images.first product "grid" css_class="shop-card__image" %}

{{ product.title }}

{% if card_price.price is not None %}

{% if card_price.is_from %}{% shop_text "product_price_from" prix=card_price.price_text|add:" €" %}{% else %}{{ card_price.price_text }} €{% endif %}

{% endif %}{% if product.card_availability.is_unavailable %}

{{ product.card_availability.label }}

{% endif %}