{% extends "oscar/layout_2_col.html" %} {% load currency_filters %} {% load product_tags %} {% load i18n %} {% block title %} "{{ query }}" | {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block column_left %} {% if has_facets %}

{% trans "Refine your search" %}

{% 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 headertext %} {% blocktrans with q=query %} Products matching "{{ q }}" {% endblocktrans %} {% endblock %} {% block content %}
{# 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.start_index end=page.end_index num_results=paginator.count %} Found {{ num_results }} results, showing {{ start }} to {{ end }}. {% endblocktrans %} {% else %} {% blocktrans count num_results=paginator.count %} Found {{ num_results }} result. {% plural %} Found {{ num_results }} results. {% endblocktrans %} {% endif %}
{% include "oscar/partials/form_field.html" with field=search_form.sort_by %}
{% else %}

{% trans "Found 0 results." %} {% if suggestion %} {% url 'search:search' as search_url %} {% blocktrans %} Did you mean "{{ suggestion }}"? {% endblocktrans %} {% endif %}

{% endif %}
{% if page.object_list %}
    {% for result in page.object_list %}
  1. {% render_product result.object %}
  2. {% endfor %}
{% include "oscar/partials/pagination.html" with page_obj=page %}
{% endif %} {% endblock %} {% block onbodyload %} {{ block.super }} oscar.search.init(); {% endblock %}