I have some business logic after entering shipping address or select shipping address, for these, I override the _formRateRequest and setRequest methods from core class \Magento\Fedex\Model\Carrier in my custom module, and my business logic is working. After successfully validated I need to show the custom block or custom message in shipping method section after shipping address entered or select.

enter image description here

But here I confusing how to start and where to start?

Any suggestions? on this.

1 Answer 1


For this you need override selectAddress function from below file


And show a html containing your message.You can keep hide on load, and on selecting shipping method you can show this.


  • Thank you for the answer, will check and let you know.
    – Bojjaiah
    Dec 31, 2018 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.