codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Change default woocommerce myaccount text

    13th August 2020

    WooCommerce

    woocommerce category codehaven

    Change default woocommerce myaccount text,,
    If you want to change the default myaccount text that shows after login (“From your account dashboard you can view your recent orders etc), then editing the file within the woocommerce plugin will work, but you need to pay special attention to how this is done.
    If you just edit the file, when woocommerce is updated this will be overwritten and therefore you will lose your work.

    1. Make a folder – themes/yourtheme/woocommerce/myaccount/
    2. locate the file plugins/woocommerce/myaccount/templates/dashboard.php
    3. Place this file inside the folder you just created.
    4. Edit the newly placed file dashboard.php as you wish and save.

    Was this code snippet helpful?