Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi Lawrence,
    Which taxanomy do you need?

    This will output a comma separated list of the product categories:

    <?php if (isset($item['product'])) echo strip_tags($item['product']->get_categories()); ?>

    same for product tags:

    <?php if (isset($item['product'])) echo strip_tags( $item['product']->get_tags() ); ?>

    AFAIK there are no other taxonomies for products in WooCommerce.

    Let me know if you have any other questions!
    Ewout

Viewing 1 replies (of 1 total)
  • The topic ‘Displaying taxonomy’ is closed to new replies.