diff --git a/core/app/helpers/spree/base_helper.rb b/core/app/helpers/spree/base_helper.rb index 9969463683b..feffdb828a8 100644 --- a/core/app/helpers/spree/base_helper.rb +++ b/core/app/helpers/spree/base_helper.rb @@ -119,6 +119,10 @@ def available_countries(restrict_to_zone: Spree::Config[:checkout_zone]) countries = Country.all end + Spree::CountryListPresenter.new(countries) + end + + def countries_for_collection_select(countries) country_names = Carmen::Country.all.map do |country| [country.code, country.name] end.to_h