Need to use the old woocommerce template hierarchy in v25
Hi,
Before updating to v25, I used my own archive-product.php file in the path /wp-content/themes/betheme-child/woocommerce/ without any problem just to show a button that displays a modal. Since update, woocommerce hierarchy not working? What can I do to reuse that custom file from my child-theme?
Thanks
Comments
Hello,
Please, change the main woocommerce.php file into the following one in the main child-theme folder (betheme-child/woocommerce.php).
Remember to change the file extension from txt to php.
Notice that after that the Betheme templates will not work.
Thanks
It works perfect. Thanks