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
Mark some properties from seed filterable
Damian Legawiec3eef18a33c92
diff --git a/sample/db/samples/properties.rb b/sample/db/samples/properties.rbindex 06f3012859..cd4fd5156b 100644--- a/sample/db/samples/properties.rb+++ b/sample/db/samples/properties.rb@@ -16,3 +16,5 @@ properties = {properties.each do |name, presentation|Spree::Property.where(name: name, presentation: presentation).first_or_create!end++Spree::Property.where(name: %w[brand manufacturer]).update(filterable: true)