Question : wc php get product custom taxonomy brand
Answered by : isaac-groisman-afzx9092x66j
$terms = get_the_terms( $product_id, 'my_taxo' );
foreach ($terms as $term) {
$product_cat = $term->name;
}
echo $product_cat ;
Source : https://wordpress.stackexchange.com/questions/311142/how-to-load-terms-of-a-custom-taxonomy-of-a-product-in-woocommerce-cart-page | Last Update : Mon, 10 Oct 22