Change woocommerce account menu
-
Hello there,
Where I could change the account menu (remove some links like “Downloads”, “Paiement cards”, “Wishlist” ) ?
And delete also from the my account page button.
Thanks
Attachments:
You must be
logged in to view attached files.
Hello,
Thank you very much for choosing our theme and for contacting us.
You need to clear the appropriate fields in the Woocommerce > Settings > Advanced. https://gyazo.com/f06a38273511a07399e302d2ea87b660
If you have any questions please feel free to contact us.
Best Regards
Hello,
I already tried to empty those settings ju it don’t work.
You can see on the attachment that « Download » or « credit card » are empty but still present on the account menu 🙁
I’m most of WP Theme, you can set up a Menu in the Appearance section and tick « woocommerce menu » or « Account menu » for the emplacement.
But that seems impossible with yours.
If you have an other way, it would be kind.
Thanks to you
Attachments:
You must be
logged in to view attached files.
Also, « Wishlist » menu element don’t exit in the Woocommerce Advanced Setting
Hello,
Please insert the site admin access into the Private content below the message area. We will take a closer look at the case.
Which items you would like to remove?
Best Regars
Hello,
I’d like to remove : carte de paiement, abonnement dans téléchargement (like on the attachement)
Thanks to you
Attachments:
You must be
logged in to view attached files.
Hello,
Please add this code to the Theme Settings > Custom CSS > Global:
.wd-nav-mobile li.woocommerce-MyAccount-navigation-link--downloads {
display:none;
}
Best Regards
Hello, I think the display none in css isn’t the best way. I create a custom function in function.php in the child theme :
add_filter ( ‘woocommerce_account_menu_items’, ‘remove_my_account_links’ );
function remove_my_account_links( $menu_links ){
unset($menu_links[‘downloads’]);
unset($menu_links[‘cards’]);
unset($menu_links[‘subscriptions’]);
return $menu_links;
}
So you can close this case.
Have a good day
Hello,
Thank you for sharing the code.
If you have any questions please feel free to contact us.
Best Regards
The topic ‘Change woocommerce account menu’ is closed to new replies.