Almost, all customers say that they need a way to restrict some provinces for some shipping methods which they are not supported by the provider or the store owner would transit orders to those provinces by some another providers! So, I always write my custom codes to all versions to do that! But I decided to add this feature to the core of nop.
All services, controllers, etc. are similar to the 'ShippingMethodRestrictions' based on country.
I create a new entity of 'ShippingMethodStateProvinceMapping' to do that and I put both 'CountryId' and 'StateProvinceId' in that. Some another scenarios could be applied, but this one is more efficient, I think.
Almost, all customers say that they need a way to restrict some provinces for some shipping methods which they are not supported by the provider or the store owner would transit orders to those provinces by some another providers! So, I always write my custom codes to all versions to do that! But I decided to add this feature to the core of nop.
All services, controllers, etc. are similar to the 'ShippingMethodRestrictions' based on country.
I create a new entity of 'ShippingMethodStateProvinceMapping' to do that and I put both 'CountryId' and 'StateProvinceId' in that. Some another scenarios could be applied, but this one is more efficient, I think.
Thanks