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.

Update core/app/models/spree/product.rb

seb182ee489a792
diff --git a/core/app/models/spree/product.rb b/core/app/models/spree/product.rb
index 8ee0368b40..ff6290a71f 100644
--- a/core/app/models/spree/product.rb
+++ b/core/app/models/spree/product.rb
@@ -323,7 +323,7 @@ module Spree
end
def full_in_stock?
- variants.in_stock_or_backorderable.exists?
+ variants_including_master.in_stock_or_backorderable.exists?
end
private