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
revert changes regarding fields no longer being translated
nciemniak180c0d0de06f
diff --git a/core/app/models/spree/store.rb b/core/app/models/spree/store.rbindex c7d494e0d2..09bbb24004 100644--- a/core/app/models/spree/store.rb+++ b/core/app/models/spree/store.rb@@ -106,7 +106,7 @@ module Spreebefore_destroy :validate_not_last, unless: :skip_validate_not_lastbefore_destroy :pass_default_flag_to_other_store- scope :by_url, ->(url_param) { i18n { url.matches("%#{url_param}%") } }+ scope :by_url, ->(url) { where('url like ?', "%#{url}%") }after_commit :clear_cache@@ -146,8 +146,6 @@ module Spreeenddef supported_currencies_list- ensure_supported_currencies-@supported_currencies_list ||= (supported_currencies.split(',') << default_currency).sort.map(&:to_s).map do |code|::Money::Currency.find(code.strip)end.uniq.compact