- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2017
12:25 AM
09-21-2017
12:25 AM
di.xml
<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.
Labels:
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2017
01:05 AM
09-21-2017
01:05 AM
have you added that di.xml under frontend folder and make sure your xml is UTF-8.
If solved then mark as solution.
Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2017
01:05 AM
09-21-2017
01:05 AM
have you added that di.xml under frontend folder and make sure your xml is UTF-8.
If solved then mark as solution.
Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2017
02:09 AM
09-21-2017
02:09 AM
Re: Magento2 Override Checkout/Onepage/Link class not working
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?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2017
03:09 AM
09-21-2017
03:09 AM
Re: Magento2 Override Checkout/Onepage/Link class not working
Thanks for your kudos!!
Magento 2 follow standard rule,all xml must need UTF-8
Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer