From 9c93900416ada4864b80f5d93d6fbde42cae981b Mon Sep 17 00:00:00 2001 From: Damian Legawiec Date: Tue, 19 Oct 2021 21:53:52 +0200 Subject: [PATCH] Deprecate `Spree::Config[:default_country_id]` --- core/app/models/spree/app_configuration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/app/models/spree/app_configuration.rb b/core/app/models/spree/app_configuration.rb index ce8793ae25..1a496d2b24 100644 --- a/core/app/models/spree/app_configuration.rb +++ b/core/app/models/spree/app_configuration.rb @@ -42,7 +42,7 @@ module Spree preference :checkout_zone, :string, default: nil, deprecated: true # replace with the name of a zone if you would like to limit the countries preference :company, :boolean, default: false # Request company field for billing and shipping addr preference :currency, :string, default: 'USD', deprecated: true - preference :default_country_id, :integer + preference :default_country_id, :integer, deprecated: true preference :disable_sku_validation, :boolean, default: false # when turned off disables the built-in SKU uniqueness validation preference :disable_store_presence_validation, :boolean, default: false # when turned off disables Store presence validation for Products and Payment Methods preference :expedited_exchanges, :boolean, default: false # NOTE this requires payment profiles to be supported on your gateway of choice as well as a delayed job handler to be configured with activejob. kicks off an exchange shipment upon return authorization save. charge customer if they do not return items within timely manner. -- 2.11.4.GIT