diff --git a/erpnext/www/all-products/index.html b/erpnext/www/all-products/index.html
index ade72a25ced..f09021412b7 100644
--- a/erpnext/www/all-products/index.html
+++ b/erpnext/www/all-products/index.html
@@ -42,7 +42,7 @@
- {% if frappe.form_dict.start or frappe.form_dict.field_filters or frappe.form_dict.search %}
+ {% if frappe.form_dict.start or frappe.form_dict.field_filters or frappe.form_dict.attribute_filters or frappe.form_dict.search %}
{{ _('Clear filters') }}
{% endif %}