attribute display on Woocommerce catalogue
-
Hi there,
I hope anyone can help me out with this. My site is still under construction, so I’m sorry can’t show you the real thing.On my webshop’s catalogue, I want to show the brand of the product on top of the title. And later also on the productpage itself. I was thinking on displaying the attribute-slug of the product, as it’s already there. Would this be possible?
This what I found so far, but when I place this on the right PHP-file, it doesn’t work. Can somebody tell me what I’m doing wrong? And suggest what I can do?
My code:
<?php echo $_product->get_attribute( 'brand' );?>
Jeroen
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘attribute display on Woocommerce catalogue’ is closed to new replies.