<preference for="Magento\Checkout\Block\Onepage\Link" type="<vendor_name>\CheckoutView\Block\Onepage\Link" />
While I'm creating Custom Method and calling it on onepage/link.phtml file.
Result: It just stop calling phtml file.
Expected Result: Custom method should be called on phtml file.
Any suggestions would be appreciated. Thank you!
Solved! Go to Solution.
have you added that di.xml under frontend folder and make sure your xml is UTF-8.
If solved then mark as solution.
It's Working! Thanks!
But may I know what is the logic to add UTF-8?
And Why It was not working without UTF-8?
Thanks for your kudos!!
Magento 2 follow standard rule,all xml must need UTF-8