Yith Wishlist how to display product category name on wishlist page? [closed]

Question

How do I display the name of a product category in wishlist item?

This code is not working:

<?php
    foreach ($terms as $term) {
       $product_cat = $term->name;
    }
    echo $product_cat ;
?>
</span>
0
Стас 2 months 0 Answers 12 views 0

Leave an answer