cropped-KTWD_Logo-InkBlue-1.jpg
  • Home
  • Services
  • Pricing
  • Process
  • Projects
  • About
  • Contact

How to change the menu on the My Account Page in Woocommerce

In this tutorial, I explain how to change the menu on the My Account in Woocommerce.

You might want to do this for example if you are using BuddyPress with Woocommerce.  Both Woocommerce and BuddyPress have a ” dashboard”. Therefore having the menu item called Dashboard on the My Account page is confusing. I wanted to change the menu title from Dashboard to My Account on the menu on the My Account Page in Woocommerce.

How to change the menu on the My Account Page in Woocommerce

My solution was to change the list item title, i.e., the words on the menu as well as change the order of the endpoints by using the woocommerce_account_menu_items filter.

https://gist.github.com/neilgee/13ac00c86c903c4ab30544b2b76c483c#file-woo-endpoints-order-php

So I used the filter above, and change this line in the array

'dashboard' => __( 'Dashboard', 'woocommerce' ),

to

'dashboard' => __( 'My Account', 'woocommerce' ),

Now when a user is on the site and goes to their account page, they will see a link to My Account on the menu, not the words dashboard.

Thanks to: wpbeaches.com/change-rename-woocommerce-endpoints-accounts-page

The endpoint for Woocommerce Subscriptions

There is a separate endpoint* for subscriptions if you are using Woocommerce Subscription.

If you are using the Woocommerce Membership plugin, this displayed on the main My Account page. The Members’ area shows the resources available to members. I am sure can also be added to the menu. You can reach this information by click view from the membership link on the My Account page.

Need help with your WordPress Site? We offer a range of WordPress Services.

More Learning

Each of these menu items on the My Account Page is called an endpoint.

What is an endpoint?

Endpoints are essentially an extra part in the website URL that we detect and show different content when present.

…/my-account/subscriptions/

…/my-account/edit-address/

etc

It is user specific, e.g., Under “Edit Address”, it will display the address of the logged in user.

The Account endpoints in Woocommerce are set under Woocommerce>Settings>Accounts. You may want to customise these.

 

Changes to My Account Page in Woocommerce 2.6

The below video from the Official Woocommerce development blog – (there is no sound) shows the differences to the My account page with the update to Woocommerce 2.6. The content of the My Account page now split between several pages and there is a sidebar menu.

In Genesis themes, even with the full-width template on the My Account page, the sidebar shows because it is using a Woocommerce template, not a Genesis one.

 

Read More

Learn more about Product Page SEO for Woocommerce

Get In Touch!

027 608 2001

1/1 Korau Road, Greenlane, Auckland 1051

tarnya@buildyourwebsite.co.nz

Additional Resources

  • WordPress Website Care Plans
  • Web Design for Tradies
  • Websites for Psychologists and Counsellors
  • Web Design for Charities
  • Website Pricing
  • Website Design and Build Process
  • Website Design Case Studies
  • Articles
  • Blog
  • Technical Tutorials
  • Privacy Policy
  • Terms and Conditions for Website Services
  • Website Terms and Conditions
Copyright © 2022 Kitchen Table Web Design. All Rights Reserved.