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
Merge pull request #11019 from spree/fix/re-use-product-filters-in-finder
Damian Legawiec0f18f1daea54
diff --cc core/app/finders/spree/products/find.rbindex b3bb71b937,45a82e256b..cd72376980--- a/core/app/finders/spree/products/find.rb+++ b/core/app/finders/spree/products/find.rb@@@ -225,15 -219,9 +219,15 @@@ module Spreenddef include_discontinued(products)- discontinued ? products : products.available+ discontinued ? products : products.active(currency)end+ def map_prices(prices)+ prices.map do |price|+ price == 'Infinity' ? Float::INFINITY : price.to_f+ end+ end+def taxon_ids(taxons_ids)return if taxons_ids.nil? || taxons_ids.to_s.blank?