{% 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 %}
{% 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 %}