How to restrict specific Region from shipping?
-
09-04-2021 - |
Frage
I want to restrict some specific regions from the shipping list due to some requirements, so anyone can help here?
Thanks
Lösung
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
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit magento.stackexchange