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
Update store.rb
Damian Legawiec3ff6977bb399
diff --git a/core/app/models/spree/store.rb b/core/app/models/spree/store.rbindex d8c306995b..dfb413c2e0 100644--- a/core/app/models/spree/store.rb+++ b/core/app/models/spree/store.rb@@ -307,6 +307,7 @@ module Spreetaxonomies.find_or_create_by(name: I18n.t('spree.taxonomy_categories_name', default: I18n.t('spree.taxonomy_categories_name', locale: :en)))taxonomies.find_or_create_by(name: I18n.t('spree.taxonomy_brands_name', default: I18n.t('spree.taxonomy_brands_name', locale: :en)))taxonomies.find_or_create_by(name: I18n.t('spree.taxonomy_collections_name', default: I18n.t('spree.taxonomy_collections_name', locale: :en)))+ rescue ActiveRecord::NotNullViolationenddef ensure_default_automatic_taxons