{% extends "layouts/base.html" %} {% block title %} "{{ query }}" | {{ block.super }} {% endblock %} {% block breadcrumbs %}
{% endblock %} {% block headertext %} {% endblock %} {% block content %}
{% if page.object_list %}
{% for result in page.object_list %}
{% block product_image %} {% if settings.product_media_fit == 'fit' %} {% with image=result.object.primary_image %} {% image_thumbnail image.original "350x" as thumb %} {% endwith %} {% else %} {% with image=result.object.primary_image %} {% image_thumbnail image.original "350x350" crop="center" upscale=True as thumb %} {{ result.object.get_title }} {% endwith %} {% endif %} {% endblock %}
{% block product_title %} {% endblock %} {% block product_review %} {% if settings.product_reviews and result.object.rating %}
{% for i in '12345' %} {% if forloop.counter <= result.object.rating %} ★ {% else %} ★ {% endif %} {% endfor %}
({{result.object.num_approved_reviews}})
{% endif %} {% endblock %}
{% block product_price %}
{% purchase_info_for_product request result.object 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" with page_obj=page %} {% else %}

{% t "store.search.search_not_found" %}

{% if suggestion %} {% url 'search:search' as search_url %} {% t "store.search.suggestion" with link=search_url %} {% endif %}
{% endif %}
{% endblock %}