Hello,
I want to create custom template for brand’s page. I’m using YITH WooCommerce Brands Add-On plugin.
Considering this article https://developer.wordpress.org/themes/template-files-section/taxonomy-templates/ I copied archive-product.php from the claue main theme into /claue-child/woocommerce. Renamed it to taxonomy-yith_product_brand.php, made some changes. And it didin’t work. Brand pages looks the same as others.
I think it’s because of woocommerce.php in main theme. There are lines:
if ( is_singular( ‘product’ ) ) {
echo ‘
‘;
woocommerce_content();
echo ‘
‘;
} else {
wc_get_template( ‘archive-product.php’ );
}
But I don’t how to change it to make my custom template work. Help me please