How To Display A Woocommerce Subcategory Archive In Query Loop?

A better way is here:

{echo:get_queried_object_id}

Can get you the CURRENT term ID - so you don’t need to know the category - thus you can use it for all category pages.

1 Like