I have a custom Woocommerce Archive template using the Products widget. Inside I have a field to show category for each product.
I am using {post_terms_product_cat} to show but it’s showing all 3 category levels. I only want to show the lowest level category but can’t figure out how to do that.