{% extends "base.html" %} {% load i18n %} {% load satchmo_thumbnail satchmo_category%} {% block extra-head %} {% if category.meta %} {% endif %} {% endblock %} {% block navbar %}
  • {% trans "Home" %}
  • {% for urls in category.get_url_name %} {% if forloop.last %}
  • {{ urls.0 }}
  • {% else %}
  • {{ urls.0 }}
  • {% endif %} {% endfor %} {% endblock %} {% block sidebar %}

    {% trans "Shop Categories" %}

    {% endblock %} {% block content %}

    {{ category.translated_name }}

    {% for product in category.product_set.active %} {% if forloop.first %} {% endif %} {% endfor %} {% if child_categories %} {% for cat in child_categories %}

    {{cat.translated_name}}

    {% for product in cat.product_set.active %} {% if forloop.first %} {% endif %} {% endfor %} {% endfor %} {% endif %} {% if sale %} {% include "discount/some_eligible.html" %} {% endif %}
    {% endblock %}