Categories
CMS Magento Mastering Development

Folder and file structure for state restriction module in Magento 2.3

I am new to Magento and am using the following “how to” guide to create a state restriction module in my Magento 2.3.3 instance: https://www.dckap.com/blog/how-to-restrict-specific-us-states-in-checkout-magento-2/

I am confused as to what to name the file at the end of step 1 that belongs in this folder: Dckap\CustomerAddresses\Model\Config\Region\RegionInformationProvider

Additionally, I need to override Magento\Directory\Model\ResourceModel\Region\Collection in step 3, and I am unsure as to where those files are located.

Leave a Reply

Your email address will not be published. Required fields are marked *