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.

Make Order tags be associated with Store

Damian Legawiec4ac21ac46505
diff --git a/core/app/models/spree/order.rb b/core/app/models/spree/order.rb
index 1f8cdb1663..02187d7ed8 100644
--- a/core/app/models/spree/order.rb
+++ b/core/app/models/spree/order.rb
@@ -85,6 +85,7 @@ module Spree
attribute :state_machine_resumed, :boolean
acts_as_taggable_on :tags
+ acts_as_taggable_tenant :store_id
if Spree.user_class
belongs_to :user, class_name: "::#{Spree.user_class}", optional: true