Allow Selected State At checkout Page

In magento In Checkout We have to allow Some specific State For That you need to customize, extend Magento functionality.

For extend this functionality you have to Make plugin To avoid conflicts in future for Upgradation of Magento 2.

If you don’t Know How to make Plugin Visit Here

After creating a Custom Module You have to Extend Function of Vendor by Plugin Method.

Create a di.xml file In Your ModuleĀ  Panchal/Module/etc/di.xml

 <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="Magento\Customer\Controller\Account\Create" type="Panchal\Preference\Controller\Account\Create" /> </config>