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
Assign payment methods to all stores
Damian Legawiec5d49f788c533
diff --git a/sample/db/samples/stores.rb b/sample/db/samples/stores.rbindex 5ec4ed28e8..f66a583e36 100644--- a/sample/db/samples/stores.rb+++ b/sample/db/samples/stores.rb@@ -33,4 +33,6 @@ Spree::Price.where(currency: 'USD').each do |price|endend-Spree::Config[:show_store_selector] = true+Spree::PaymentMethod.all.each do |payment_method|+ payment_method.stores = Spree::Store.all+end