Sha256: 102d783fc22c3272c02c3b31005cf206911d5af00f36ece71462fbaf04314cc3
Contents?: true
Size: 353 Bytes
Versions: 99
Compression:
Stored size: 353 Bytes
Contents
# frozen_string_literal: true require 'spree/core/product_filters' module Spree module TaxonFiltersHelper def applicable_filters_for(_taxon) [:brand_filter, :price_filter].map do |filter_name| Spree::Core::ProductFilters.send(filter_name) if Spree::Core::ProductFilters.respond_to?(filter_name) end.compact end end end
Version data entries
99 entries across 99 versions & 3 rubygems