2

I want to restrict some specific regions from the shipping list due to some requirements, so anyone can help here?

Thanks

1 Answer 1

3

If you want to restrict some specific region then you can try below method:

vendor/magento/module-directory/Model/ResourceModel/Region/Collection.php //Added restriction to some states

Please make sure you are override this in your custom module and customize your changes.

Thanks

2
  • Thanks a lot, this file having the solution so I think it will solved my issue. Thanks Commented Feb 18, 2020 at 6:43
  • Let me know if you face any difficulty with this method. Thanks Commented Feb 18, 2020 at 6:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.