We have a Shipping Method setup in our cart, which we want to modify. At the moment, when this shipping method is selected in the checkout, it will look at the:
Allowed Countries
Allowed States
Allowed Zones
If the customers country, state and post code match the values defined in there for this shipping method, the shipping method will be chosen. I am pretty sure this is default functionality of the cart.
What I want is for the method to ignore checking for the state, and instead just make sure the country and postcode match.
I have dug deep into the code however cant find where this functionality is! The shipping seems rather complicated. Can anyone point me in the right direction when this code may be?
Thanks!