I have been trying to add a custom template for the variable.php:
/wp-content/plugins/woocommerce/templates/single-product/add-to-cart/variable.php
I added it to my child theme:
/pro-child/woocommerce/single-product/add-to-cart/variable.php
And added the theme support to functions:
function mytheme_add_woocommerce_support() {
- add_theme_support( ‘woocommerce’ );*
}
add_action( ‘after_setup_theme’, ‘mytheme_add_woocommerce_support’ );
My changes aren’t being applied, but when I modify /wp-content/plugins/woocommerce/templates/single-product/add-to-cart/variable.php the changes come through. Am I in conflict with something in the Pro theme?
Thank you.