{% 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 title %}{% include "catalog/_collection_title.html" %}{% endblock %} {% block breadcrumb %}{% include "catalog/_collection_breadcrumb.html" %}{% endblock %} {% block base_content %}

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

{% include "catalog/_subcollections.html" %} {% include "catalog/_filters.html" %}
{% 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}}

{% with cols=product.collections.all %} {% if cols|length > 1 %}
{% for col in cols %}{% if col != collection %}{{col.title}}{% endif %}{% endfor %}
{% endif %} {% endwith %} {% 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 %}