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.
So I used the filter above, and change this line in the array
'dashboard' => __( 'Dashboard', 'woocommerce' ),
'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.
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.
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.
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.
You can check out this tutorial duellingpixels.com/woocommerce-account-page-genesis-themes for how to improve the styling to match your Genesis theme. It may now look ugly after you upgrade the Woocommerce plugin.
Learn more about Product Page SEO for Woocommerce