Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Remove singularization from taxonomy names in taxon filter
Gabriel Z. Lovison7e30f3e9a525
diff --git a/storefront/app/views/themes/default/spree/products/filters/_taxons.erb b/storefront/app/views/themes/default/spree/products/filters/_taxons.erbindex 67faf48217..2eca689f78 100644--- a/storefront/app/views/themes/default/spree/products/filters/_taxons.erb+++ b/storefront/app/views/themes/default/spree/products/filters/_taxons.erb@@ -6,7 +6,7 @@data-controller='accordion'data-accordion-close-others-value="false"><%= link_to "#taxonomy_filter_#{taxonomy.id}", class: "cursor-pointer uppercase flex items-center justify-between h-10 px-4 lg:px-10 text-sm tracking-widest focus:outline-none transition duration-150 ease-in-out #{'st-accordion__icon--opened' if params[:filter].nil? || current_taxon.present? || permitted_products_params.dig(:filter, :taxonomy_ids, taxonomy.id.to_s, :taxon_ids).present?}", data: { action: 'accordion#toggle:prevent' } do %>- <%= taxonomy.name.singularize %>+ <%= taxonomy.name %><%= render 'spree/shared/icons/chevron_down' %><% end %><div