I’m using generoi/sage-woocommerce to insert templates into my shop.
I have a custom taxonomy called ‘brand’ in WooCommerce’s post type ‘product’. However, whenever I try to create a template (taxonomy-brand.blade.php) it just ignores it and uses the archive-product.blade.php template instead.
I’ve tried loading the template using a filter, but unfortunately doesn’t do anything:
Place the templates in resources/views/woocommerce/ as Blade-PHP files.
Comment out that custom PHP loader code, and just rely on the generoi woocommerce package. Does that work?
That’s how I tried it the first time. I’ve been searching for hours why it’s not working.
Once I put the taxonomy under ‘posts’ it does show me the template (inside /views) but it just wont work when they’re linked to products in the folder views/woocommerce