In WP in the WooCommerce add-on, I added my products to a main category (seats, tables, ceramics, etc.) and another category for the designer who created it. On the product category page, I'm trying to configure it so that only one category is shown below each product.
That would be to change a line of code in content-product.php, this one:
$ product> get_categories ()
What is the correct way to do this?