WooCommerce Category Page – How to display a single category under products?

In WP in the WooCommerce plugin, i’ve added my products to a main category (seating, tables, ceramics etc.) and another category for the designer who made it. On the product category page, I am trying to set it up, so that only a single category is displayed under each product.

That would be changing a line of code in content-product.php, this one:

$  product > get_categories() 

What is the correct way to do this?

Page: https://farvercramon.dk/product-category/seating/