{% extends "templates/web.html" %} {% block title %}{{ _('Products') }}{% endblock %} {% block header %}

{{ _('Products') }}

{% endblock header %} {% block page_content %}
{% if items %} {% for item in items %} {% include "erpnext/www/all-products/item_row.html" %} {% endfor %} {% else %} {% include "erpnext/www/all-products/not_found.html" %} {% endif %}
{% if frappe.form_dict.start or frappe.form_dict.field_filters or frappe.form_dict.search %} {{ _('Clear filters') }} {% endif %}
{% for field_filter in field_filters %} {%- set item_field = field_filter[0] %} {%- set values = field_filter[1] %}
{{ item_field.label }}
{% if values | len > 20 %} {% endif %} {% if values %}
{% for value in values %}
{% endfor %}
{% else %} {{ _('No values') }} {% endif %}
{% endfor %} {% for attribute in attribute_filters %}
{{ attribute.name }}
{% if values | len > 20 %} {% endif %} {% if attribute.item_attribute_values %}
{% for attr_value in attribute.item_attribute_values %}
{% endfor %}
{% else %} {{ _('No values') }} {% endif %}
{% endfor %}
{% if frappe.form_dict.start|int > 0 %} {% endif %} {% if items|length >= page_length %} {% endif %}
{% endblock %}