I use to work a basic theme with a child-theme. The parent theme contains the woocommerce.php template, which I would like to disable in the child theme. I already used several codes in the child theme's functions.php, but none worked. Can anyone imagine how I can neutralize this template? Thanks in advance!
I use to work a basic theme with a child-theme. The parent theme contains the woocommerce.php template, which I would like to disable in the child theme. I already used several codes in the child theme's functions.php, but none worked. Can anyone imagine how I can neutralize this template? Thanks in advance!
I'm assuming that with 'neutralize' you mean de-register or remove, such that WC doesn't see (or recognize) the file and functions as it would have without the woocommerce.php
-file being there.
This answer proposes a code in which your child theme (by code) physically deletes the parent theme file. There's also a questions here that seems related to your problem.