Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove duplicated 'for' loop from category index page

Pacu2e58e7f7cf82f
diff --git a/templates/category/index.html b/templates/category/index.html
index 2088a60c95..1ed867a033 100644
--- a/templates/category/index.html
+++ b/templates/category/index.html
@@ -139,10 +139,7 @@
{{ field }}
</div>
</div>
- {% endif %}
- {% endfor %}
- {% for field in filter.form %}
- {% if field.name == 'price' %}
+ {% elif field.name == 'price' %}
<div class="toggle-filter product-filters__price-range">
<h3 class="filter-label">
{{ field.label }}