As per official woocommerce documentation (here), the proper and safe way to override default woocomerce templates via theme is to create a sub-folder under the theme directory with the
/woocommerce and copy the targeted templates into it and make some changes ..
Example: to override the
So is there any possible way to override the default woocommerce templates folder :
/woocommerce under the theme directory and move it to an other folder let say
in fact, many plugins out there (woocommerce, bbpress among others) suggest creating sub-folder under the theme directory with the name of the plugin (
/bbpress) to hold the overridden templates and in order to bring some organization to my theme folder it does make sens to me to create sub-folder
/plugins under my theme directory where i can hold my own templates so
archive-product.php would be located under
i looked at those core functions:
/includes/wc-core-functions.php but i can't figure out how to override the default location (applying filters ..)
i appreciate your kind help.