Skip to content

armgit / spree

Public Imported from GitHub
0

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.

Show Store selector by default when samples are imported

Damian Legawiec8e4f9bc13b22
diff --git a/sample/db/samples/stores.rb b/sample/db/samples/stores.rb
index 764440c9c9..e1ad851c9f 100644
--- a/sample/db/samples/stores.rb
+++ b/sample/db/samples/stores.rb
@@ -22,3 +22,5 @@ uk_store.default_locale = 'en'
uk_store.checkout_zone = Spree::Zone.find_by(name: 'UK_VAT')
uk_store.default_country = Spree::Country.find_by(iso: 'GB')
uk_store.save!
+
+Spree::Config[:show_store_selector] = true