Where is WooCommerce’s dashboard.php in WoodMart Theme?
-
I’m trying to overwrite some default text in the WooCommerce dashboard, and needed to access this folder in the WoodMart theme:
woodmart/woocommerce/myaccount/dashboard.php
However it does not exist in my WoodMart theme folder (woodmart/woocommerce/myaccount). Only form-login.php exists.
How do I navigate to the WooCommerce dashboard in the theme?
Attachments:
You must be
logged in to view attached files.
Hello,
You can overwrite a default WooCommerce template file just by creating a file with the same name and path in the woocommerce folder of your child theme. You can find the list of all WooCommerce template files in the woocommerce/templates folder of the WooCommerce plugin.
For example, if you need to overwrite the dashboard template that is located in the WooCommerce plugin at the following path:
woocommerce/templates/myaccount/dashboard.php
You would need to create a file in your child theme with the following path:
woocommerce/myaccount/dashboard.php
After this, copy the default WooCommerce template content in your template file.
Kind Regards