On customer dashboard you see this
<?= $block->getChildHtml('customer.account.dashboard.info.extra'); ?>
Can you embed content into the template using this marker in an module?
Just add content to the marker. Not override the entire info.phtml.
magento2.3template
On customer dashboard you see this
<?= $block->getChildHtml('customer.account.dashboard.info.extra'); ?>
Can you embed content into the template using this marker in an module?
Just add content to the marker. Not override the entire info.phtml.
Best Answer
I came to a solution
app/code/Xigen/UsernameLogin/view/frontend/layout/customer_account_index.xml
Then only need to provide
app/code/Xigen/UsernameLogin/view/frontend/templates/account/dashboard/info.phtml
That's the cleanest solution I could get working.