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.

Fix: remove noise deprecation warning - too early for that

Damian Legawiec43cbbcbb8ce6
diff --git a/spree/core/app/models/spree/product.rb b/spree/core/app/models/spree/product.rb
index e92ed8af80..d1c07e2c4b 100644
--- a/spree/core/app/models/spree/product.rb
+++ b/spree/core/app/models/spree/product.rb
@@ -966,7 +966,6 @@ module Spree
end
def requires_price?
- Spree::Deprecation.warn('Spree::Product#requires_price? is deprecated and will be removed in Spree 6.0.')
Spree::Config[:require_master_price]
end