Recently I needed to put on the category page of WooCommerce a link to download a catalog associated with the category using Advanced Custom Fields (ACF).
For this work’s I have created a Group of Product Categories fields in the ACF. I put a custom text field to receive this URL and in the rule of this group I used the Taxonomy Term associated with product_category to display this field in the WooCommerce categories.
And to display this field within the category page code I used:
$product_cat_object = get_queried_object(); the_field('download_catalogo', 'product_cat_' . $product_cat_object->term_id);
It worked well and I decided to share it because it would be enough for situations where you want to have customizations on the category page of your E-Commerce. enjoy yourself! 🙂