Site logo

Archived topic

Display terms above the titles (WooCommerce)

4 replies · Started by Christophe on May 17, 2021

Viewing posts 1–5 of 5

Hello guys,

For my WooCommerce homepage shop, I would like to add different information to each of my products. More specifically, I need to list the categories (product_cat) and a specific attribute (pa_grades) that belong to each product above the title (right after the thumbnail). And ideally, each term should be a link. Please see the picture attached. How can I achieve that? I tried with the hooks in Elements, but with no success. I am using the default GP WooCommerce theme.

shop page

Your help on this would be very much appreciated. Thank you!

Hi Christophe,

You can use List of terms for the product category/attributes in elements:
https://www.screencast.com/t/QzfBW1lPE6

ChooseWoocommerce_before_shop_loop_item_title as hook.

Let me know :)

WOW, that was the solution! For some reason, some of the attributes are missing in the dro-down list (taxonomy), but I could add them via the Code Editor. That did the trick... thank you so much Ying!

You are welcome :)

Glad to help!

This archived topic is closed to new replies.