Archived topic
Dynamically insert Woocommerce product category name in Products Archive
1 reply · Started by Alberto on March 15, 2022
Hello.
I have a question for you: I am customizing the woocommerce product archive. I have to display some custom fields that I added with ACF.
I also need to dynamically display the name product category.
I get that I could generate another custom field with ACF but I want to try to keep it as simple as possible for the client.
Is there a way to dynamically insert the woocommerce product category name field into the products archive?
Thank you in advance!
Hi Alberto,
Yes you can.
Set the dynamic text type to list of terms, taxonomy to product_cat.
https://www.screencast.com/t/goHF3N40
Let me know if this helps :)