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
Fix PLP searcher (spree-multi-domain)
Tomek Urban4e222a123e2b
diff --git a/frontend/app/controllers/spree/products_controller.rb b/frontend/app/controllers/spree/products_controller.rbindex b950828a72..ce4c951f1b 100644--- a/frontend/app/controllers/spree/products_controller.rb+++ b/frontend/app/controllers/spree/products_controller.rb@@ -9,7 +9,7 @@ module Spreerespond_to :htmldef index- @searcher = build_searcher(params.merge(include_images: true))+ @searcher = build_searcher(params.merge(include_images: true, current_store_id: current_store.id))@products = @searcher.retrieve_productslast_modified = @products.maximum(:updated_at)&.utc if @products.respond_to?(:maximum)