0

We are building our website using Magento 2.3 EE. We have extended the luma theme. While we test our site, we have found out that there is no links for customer to go to My account page. Please see the below screenshot.

enter image description here

I'm not sure that what I have missed. Can anyone please help me to resolv this issue?

4
  • Try to run deploy and all command one and then check – Dhiren Vasoya Oct 3 '19 at 6:23
  • I have already done that but still not working – Siva Oct 3 '19 at 6:25
  • Have you installed any theme? – Amrit Pal Singh Oct 3 '19 at 6:27
  • We have extended the luma theme. – Siva Oct 3 '19 at 6:29
2

Add default.xml in app/design/frontend/your-theme-namespace/yourtheme/Magento_Sales/layout with following content

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
    <referenceBlock name="top.links">
        <block class="Magento\Framework\View\Element\Html\Link\Current" name="customer-account-navigation-orders-link-top" after="my-account-link" >
            <arguments>
                <argument name="path" xsi:type="string">sales/order/history</argument>
                <argument name="label" xsi:type="string" translate="true">My Orders</argument>
            </arguments>
        </block>
    </referenceBlock>
</body>

I hope this will be helpful.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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