{% extends "oscar/catalogue/browse.html" %} {% load display_tags %} {% load basket_tags %} {% load category_tags %} {% load product_tags %} {% load i18n %} {% load oxyan %} {% load ocyanjson %} {% load wagtailcore_tags %} {% block title %} {% if summary %}{{summary}}{% else %}{{ block.super }}{% endif %}{% wagtail_site as current_site %}{% if current_site.site_name %} - {{ current_site.site_name }}{% endif %}{% endblock title %} {% block column_left %}
{% trans "Filters" %}
{% block prepend_column_left %} {{block.super}} {% endblock %} {% block categories %} {% ocyanjson "theme" "category_navigation_depth" 1 as category_navigation_depth %} {% category_tree depth=category_navigation_depth as tree_categories %} {% if tree_categories %}
{% trans "Categories" %}
{% endif %} {% endblock %} {% block facets %} {% if has_facets %}
{% for field, data in facet_data.items %} {% if data.results %} {% include 'oscar/search/partials/facet.html' with name=data.name items=data.results %} {% endif %} {% endfor %}
{% endif %} {% endblock %} {% block append_column_left %} {{block.super}} {% endblock %}
{% endblock %} {% block content %} {% block category_blocks %} {% ocyanjson "oscar" "show_child_category_blocks" 0 as show_child_category_blocks %} {% if show_child_category_blocks and category.depth <= show_child_category_blocks and category.has_children %} {% include 'oscar/catalogue/partials/category_blocks.html' %} {% endif %} {% endblock %} {% block product_list %} {% ocyanjson "themes" "product_column_classes" as product_column_classes %}
{# Render other search params as hidden inputs #} {% for value in selected_facets %} {% endfor %}
{% if paginator.count %}
{% if paginator.num_pages > 1 %} {% blocktrans with start=page_obj.start_index end=page_obj.end_index count num_results=paginator.count %}{{ num_results }} result - showing {{ start }} to {{ end }}.{% plural %}{{ num_results }} results - showing {{ start }} to {{ end }}.{% endblocktrans %} {% else %} {% blocktrans count num_results=paginator.count %}{{ num_results }} result.{% plural %}{{ num_results }} results.{% endblocktrans %} {% endif %} {% if page_obj.has_next %} {% trans "Next page" %}. {% endif %}
{% if search_form %}
{% include "oscar/partials/form_field.html" with field=search_form.sort_by style='horizontal' %}
{% endif %} {% else %}

{% trans "0 results." %}

{% endif %}
{% block product_list_section %} {% if products %}
{% block category_top %}{% endblock %}
{% for product in products %}
{% if forloop.counter > 2 %} {% render_product product %} {% else %} {% with notlazy=True %}{% render_product product %}{% endwith %} {% endif %}
{% endfor %}
{% block category_bottom %}{% endblock %} {% include "oscar/partials/pagination.html" %}
{% else %}

{% trans "No products found." %}

{% endif %} {% endblock product_list_section %} {% endblock product_list %} {% endblock content %} {% block onbodyload %} {{ block.super }} oscar.search.init(); {% endblock %}