You made it all the way down here so you must have enjoyed this post! You may also like:

How to programmatically create customers in Magento 2.3.x Deni Pesic
Deni Pesic, | 2

How to programmatically create customers in Magento 2.3.x

Managing My Account Navigation Links in Magento 2 Matej Djakovic
Matej Djakovic, | 10

Managing My Account Navigation Links in Magento 2

Improve default Magento reviews Mladen Ristic
, | 16

Improve default Magento reviews

18 comments

  1. In your post I missed the way on adding the link ‘Delete My Account’.
    How can I achieve this?

  2. Your tutorial starts good when mentioning that it is never a good idea to edit Magento core files, but immediately after that it becomes very vague and sloppy! Can you please stick to a typical step-by-step tutorial explaining where to create what and how? Only the last step (Last thing we need to do is create layout xml file in app/design/frontend/default/default/layout/inchoo_core.xml:) was in detail.
    Here is what I mean:
    For start we’ll have to edit our config.xml file, we have to rewrite Magento’s core file. where? how?
    Next we have to define our layout xml file: where?
    Next step would be to create Block/Customer/Account/Navigation.php with following class: please specify a more detailed path?

    Thank you

  3. Hi,
    I need to add one extra field say measurment in my left my account navigation and there will be fields to save customer details.
    Can anyone help me to make this happen? Any help will be appreciated.
    Thank you.
    Regards
    Tinku
    Email: tinku@madspark.in

  4. Hi, i always use this module in my projects. that’s very useful. I would like to install it with composer. Are there a repository? can i sent you a pull request or can I fork the module? tnx! Irene

  5. Hii Sola, Good post

    how to change the label name for example I need to change “Account Dashboard” to “Dashbord”. How it posiible..?

    Please help me .. please mail the solution

    Thanking you in advance

    1. hi sibin,
      open this file :
      app\design\frontend\base\default\template\customer\account\dashboard.phtml or
      app\design\frontend\[yourtheme]\default\template\customer\account\dashboard.phtml

      find this :

      __(‘Account Dashboard’) ?>

      (mine line 29)
      you can change Account Dashboard to Dashboard

  6. Are you sure this is the right way to achieve this? I do not. Why we need to override/extend Magento’s blocks when we can use event-observer architecture to get the same result without touching any core class or conflicting with any third party module which also uses it (even it is bad)?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <blockquote cite=""> <code> <del datetime=""> <em> <s> <strike> <strong>. You may use following syntax for source code: <pre><code>$current = "Inchoo";</code></pre>.

Tell us about your project

Drop us a line. We'd love to know more about your project.