{% load i18n thumbnail pcart_core theme_tags staticfiles %}
{% with im=product.get_image %} {% if im %} {% if size %} {{im}} {% else %} {{im}} {% endif %} {% else %} {% endif %} {% endwith %} {% if product.compare_at_price > product.price %}–{{product.compare_at_price|minus:product.price|times:100.0|divided_by:product.compare_at_price|money:'without_currency'|times:100|remove:'.0'}}%{% endif %} {% comment %}{% if dates_diff <= new_products_period %}{% trans "New" %}{% endif %}{% endcomment %} {% comment %} {% if not hide_buttons %}
{% include "catalog/includes/collection/buy_button.html" %}
{% endif %} {% endcomment %}