Is it possible to hide a particular shipping method based on postcode only in the admin area?
When I say admin area I mean the Sales order page in the admin section.
I have tried around a plug-in
<type name="Magento\Shipping\Model\Shipping">
<plugin disabled="false" name="Vendor_Extension_Model_Shipping" sortOrder="10"
type="Vendor\Extension\Plugin\ApplyShipping"/>
aroundCollectCarrierRates
But this isn’t helping me to get it done for postcodes
I can grab the postcode by request but when I select the shipping methods the particular shipping method still shows
Please can someone guide me or help me?
I have used this as a starting guide but this hide it completely
https://meetanshi.com/blog/enable-disable-shipping-method-programmatically-in-magento-2/amp/
I have used this to grab postcode https://magento.stackexchange.com/a/301477