Set new menu link on my account page to endpoints

This topic has 5 replies, 2 voices, and was last updated 1 years, 8 months ago ago by Rose Tyler

  • 4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 10, 2023 at 10:12

    Hello, Smithy534,

    Thank you for getting in touch with us.

    Account endpoints you can find in WooCommerce > Settings > Advanced.
    To get further assistance, please contact support of the WooCommerce plugin – https://wordpress.org/support/plugin/woocommerce/

    We hope this information is helpful.

    Kind Regards,
    8theme team

    Avatar: Smithy534
    Smithy534
    Participant
    March 10, 2023 at 18:03

    What I want to do is create new menu in the dashboard.php in the myaccount folder. I want to add extra menu

    ‘ . esc_html( $current_user->display_name ) . ‘‘, esc_html__(‘your account’, ‘xstore’) ); ?>

    Avatar: Smithy534
    Smithy534
    Participant
    March 11, 2023 at 00:49

    to clarify by default when you go to myaccount page there’s only 3 links such as recent orders, address, and account details. I want for example to add extra links on the tab such as a new logout link, payment method, etc….

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 13, 2023 at 10:12

    Hello, Smithy534,

    Thank you for using our theme.

    We regret to inform you that additional customization of files is outside the scope of our basic support.

    If you want to add “hardcode” link to your dashboard.php file then you need to simply copy xstore/woocommerce/myaccount/dashboard.php to your child-theme/woocommerce/myaccount/dashboard.php and make those changes -> https://prnt.sc/ahOmuP7SyEID (example)

    If you would like to create custom endpoint then you may read next article about creating custom endpoints and create own ones -> https://webkul.com/blog/woocommerce-account-custom-endpoint/
    After that, you should resave permalinks and make your modifications in the child-file mentioned above (child-theme/woocommerce/myaccount/dashboard.php).

    We hope this information is helpful.

    Kind Regards,
    8theme team

  • Viewing 5 results - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.