{% extends "layouts/base.html" %} {% block title %} {% if summary %}{{ summary }} |{% endif %} {{ block.super }} {% endblock %} {% block breadcrumbs %} {% t "navigation.main.home" %} {{ summary }} {% endblock %} {% block content %} {% include "partials/catalogue_filters.html" %} {% if products %} {% for product in products %} {% block product_image %} {% if settings.product_media_fit == 'fit' %} {% with image=product.primary_image %} {% image_thumbnail image.original "350x" as thumb %} {% endwith %} {% else %} {% with image=product.primary_image %} {% image_thumbnail image.original "350x350" crop="center" upscale=True as thumb %} {% endwith %} {% endif %} {% endblock %} {% block product_title %} {{ product.get_title }} {% endblock %} {% block product_review %} {% if settings.product_reviews and product.rating %} {% for i in '12345' %} {% if forloop.counter <= product.rating %} ★ {% else %} ★ {% endif %} {% endfor %} ({{product.num_approved_reviews}}) {% endif %} {% endblock %} {% block product_price %} {% purchase_info_for_product request product as session %} {% if session.price.exists %} {{ session.price.price|currency:session.price.currency }} {% if session.price.price_retail > session.price.price %} {% t "store.catalogue.sale" %} {{ session.price.price_retail|currency:session.price.currency }} {% endif %} {% else %} {% endif %} {% endblock %} {% endfor %} {% include "partials/pagination.html" %} {% else %} {% t "store.catalogue.none_found" %} {% endif %} {% endblock content %}
{% t "store.catalogue.none_found" %}