• Resolved claudiop97

    (@claudiop97)


    Hi,

    it’s possible to remove the “browse products” button in the “orders” section of your account when there is no history yet?

Viewing 2 replies - 1 through 2 (of 2 total)
  • This page is generated by the template at:
    plugins/woocommerce/templates/myaccount/orders.php

    To change it, you’ll need to copy the file to:
    themes/my-child-theme/woocommerce/myaccount/orders.php
    and edit the copy around line 100.

    PHP skills will be needed.

    There’s a filter to change the link, and there are snippets to change the button text, but to have a conditional button will need some custom code. It would be unusual for that to be provided via the forum.

    MayKato

    (@maykato)

    Hi @claudiop97

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Button “Browser products” account page’ is closed to new replies.