{% extends "pages/page.html" %} {% load mezzanine_tags shop_tags i18n %} {% block body_id %}category{% endblock %} {% block main %}{{ block.super }} {% editable page.category.content %} {{ page.category.content|safe }} {% endeditable %} {% if child_categories %}
{% if settings.SHOP_CATEGORY_USE_FEATURED_IMAGE %} {% for category in child_categories %}
{% if category.featured_image %} {% else %}
{% endif %}

{{ category.title }}

{% endfor %} {% else %} {% for category in child_categories %}

{{ category.title }}

{% endfor %} {% endif %}
{% endif %} {% if products.paginator.count != 0 %}
{% for product in products.object_list %}
{% if product.image %} {% else %}
{% endif %}
{{ product }}
{% if product.has_price %} {% if product.on_sale %} {{ product.unit_price|currency }} {% trans "On sale:" %} {% endif %} {{ product.price|currency }} {% else %} {% trans "Coming soon" %} {% endif %}
{% endfor %}
{% pagination_for products %} {% endif %} {% endblock %}