enter image description here

I am trying to get the location of this sidebar list I have shared with the image. where can I get that??

  • is it the custome account section ? Oct 20, 2019 at 9:43

2 Answers 2


You can look into this file..


This sidebar section coming from here in My Account page.

You can override this file in your custom theme.


Content for this file is

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd" label="Customer My Account (All Pages)" design_abstraction="custom">
        <referenceBlock name="sidebar.main.account_nav">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Magento_Customer::html/collapsible.phtml</argument>

Now you need to create one template file here..


You can copy below file's content there and you can make any modifications there..


Hope this will help you!

  • did you tried this then ? Oct 20, 2019 at 10:51
  • thank you, sir. but after applying the method you write above, I lost the sidebar. If you tell me what to do now it would be very helpful. Oct 20, 2019 at 10:54
  • Okay give me few mins.. Oct 20, 2019 at 10:54
  • sure, Sir. I am here. Oct 20, 2019 at 10:55
  • 1
    Comments are not for extended discussion; this conversation has been moved to chat.
    – Amit Bera
    Oct 20, 2019 at 13:11

vendor\magento\module-customer\view\frontend\templates\account\navigation.phtml is the main file which renders this list, it calls it child blocks to render the individual list items, so the items can be found in the layout file vendor\magento\module-customer\view\frontend\layout\customer_account.xml passed as block arguments to child elements like below ;

<block class="Magento\Customer\Block\Account\SortLinkInterface" name="customer-account-navigation-account-link">
                            <argument name="label" xsi:type="string" translate="true">My Account</argument>
                            <argument name="path" xsi:type="string">customer/account</argument>
                            <argument name="sortOrder" xsi:type="number">250</argument>

Your Answer

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

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