Hello Community ,
Hope you all are safe.
While adding new shipping address on checkout page I don't want to allow the user to change the country. it should remain as it is.
I need a solution based on code. It is not allowed to configure it at backend. So How Can we achieve this ?
Can anyone quickly help in this ?
Thanks in advanced !
Hello @maratheprash ,
That means you need only one country on your site
you can do following settings,
In Admin Store->Configuration->General->General->Country Options>Allow Countries
select the country you want to set here
This will show only one country and the dropdown value is unchangeble
Thank you.
problem solved?click kudos and accept as solution.