Get Default Country code from the current website Magento 2.

Get Default Country Value from the Current Website Using Programmatic way in Magento 2.

You can get the value of default country from the admin panel,
1. Stores -> Configuration -> General -> General
2. Country Options Tab -> Default Country.
Check the Selected Country value for the current website by set Store view as website scope. Continue reading “Get Default Country code from the current website Magento 2.”