Home Forums WoodMart support forum Change woocommerce account menu

Change woocommerce account menu

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #379135

    thomasgaillard
    Participant

    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.
    #379176

    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

    #379217

    thomasgaillard
    Participant

    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.
    #379220

    thomasgaillard
    Participant

    Also, « Wishlist » menu element don’t exit in the Woocommerce Advanced Setting

    #379486

    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

    #379516

    thomasgaillard
    Participant

    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.
    #379585

    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

    #380007

    thomasgaillard
    Participant

    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

    #380063

    Hello,

    Thank you for sharing the code.

    If you have any questions please feel free to contact us.

    Best Regards

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Change woocommerce account menu’ is closed to new replies.