Skip to content

magento man

Override ShippingMethodMangement.php

I need to override this model but <preference for=”MagentoQuoteModelShippingMethodMangement” type=”VendorModuleModelShippingMethodManagement” /> in di.xml is not working the method I need to override is public function apply($cartId, $carrierCode, $methodCode) any help please