<% cache base_cache_key + [available_option_types_cache_key, filtering_params_cache_key, @taxon&.id] do %>
<% @available_option_types.each do |option_type| %>
<% ot_downcase_name = option_type.filter_param %> <% option_type_name = ot_downcase_name.titleize %> <% collapsed = params[ot_downcase_name].blank? %>
<% end %> <% price_collapsed = params[:price].blank? %>
<% price_filter_values.each do |name| %> <% price_param = params[:price] == name ? '' : name %> <%= link_to permitted_params.merge({ price: price_param }), class: "d-block" do %>
<%= name %>
<% end %> <% end %>
<% additional_filters_partials.each do |partial| %> <%= render "spree/products/filters/#{partial}", permitted_params: permitted_params %> <% end %>
<% end %>