{% extends CMS_TEMPLATE %} {% load i18n l10n sekizai_tags cms_tags pcart_core pcart_catalog thumbnail staticfiles %} {% block extra_css %} {% addtoblock "css" %} {% endaddtoblock %} {% endblock %} {% block extra_js %} {% addtoblock "js" %} {% endaddtoblock %} {% endblock %} {% block base_content %}

{{collection.page_title|default:collection.title}}

{% trans "Filters" %}

{% trans "Vendor" %}

    {% for tag in vendor_tags %}
  • {% if tag.selected %} {{tag.label}} ({{tag.filtered}}) {% else %} {% if tag.filtered == 0 %}{% endif %} {% if tag.url %}{% endif %}{{tag.label}}{% if tag.url %}{% endif %} {% if tag.active_filter %}+{{tag.filtered}}{% else %}({{tag.filtered}}){% endif %} {% if tag.filtered == 0 %}{% endif %} {% endif %}
  • {% endfor %}
{% for tag_group in all_tags %}

{{tag_group.group_label}}

    {% for tag in tag_group.tags %}
  • {% if tag.selected %} {{tag.label|capfirst}} ({{tag.filtered}}) {% else %} {% if tag.filtered == 0 %}{% endif %} {% if tag.url %}{% endif %}{{tag.label|capfirst}}{% if tag.url %}{% endif %} {#tag.count#} {% if tag.active_filter %}+{{tag.filtered}}{% else %}({{tag.filtered}}){% endif %} {% if tag.filtered == 0 %}{% endif %} {% endif %}
  • {% endfor %}
{% endfor %}

Price


Price from: ({{min_available_price|money}}) Price to: ({{max_available_price|money}})
{% if filtered %}

{% for tag in vendor_tags %}{% if tag.selected %}{{tag.label}} {% endif %}{% endfor %} {% for tag_group in all_tags %}{% for tag in tag_group.tags %}{% if tag.selected %}{{tag_group.group_label}}: {{tag.label}} {% endif %}{% endfor %}{% endfor %}

{% endif %}

{% if variants_count > 0%} Found {{products.paginator.count}} products and {{variants_count}} variants. {% else %} Found {{products.paginator.count}} products. {% endif %} Price between {{min_price|money}} and {{max_price|money}}.

Cheapest first Expensive first

{% for product in products %}

{{product.title}}

{% for image in product.images.all %} {% endfor %}

{{product.status}}

{% with product.variants.all as variants %}

Count: {{product.filtered_variants_count|default:product.variants_count}}

{% if variants %} {% with minvp=product.filtered_min_variant_price|default:product.min_variant_price maxvp=product.filtered_max_variant_price|default:product.max_variant_price %} {% if minvp == maxvp %} {{minvp|money}} {% else %} {{minvp|money}} - {{maxvp|money}} {% endif %} {% endwith %} {% else %} {{product.price|money}} {% endif %} {% endwith %} {% endfor %} {% include "catalog/includes/pagination.html" %}
{% endblock %}