I am having an issue when using the Dokan Child theme. The PHP files in
the “dokan-child” root folder are working fine (for example,
“front-page.php” is recognized), but the PHP files in the “templates”
folder aren't recognized so they aren't overwriting the default template
in the dokan folder (for example, I did some edits to templates
“new-product.php” and added it as
“dokan-child/templates/new-product.php”. But none of my changes are
Yes, the template name is there, but the templates from child folder still aren't being recognized. The normal templates from woocommerce like “content-product.php” are being recognized fine, but not the dokan templates like “dashboard.php”, or “product-edit.php”.
The dokan child theme is working fine otherwise (custom CSS from the child theme is being used).
Please advise 🙂 Can you confirm that the directories are OK ?
The files you're talking about is not customizable by just placing a file in the child theme. You'll have to use filters to customize those files. You'll get the idea to use which filters in the main file.
Can this be explained in a little more detail? I'm having this exact issue and I've noticed several posts in regards to this. Can you tell me where to find which filter in regards to product-edit.php? That is one of the template files that does not seem to be modifiable in the child theme.