How do I get the current product category that the user is browsing through?
I am trying to use get_the_terms($post->ID, 'product_cat');
but this is giving me the categories for each product listed on the page. I would like to get the current category user is browsing through, the current product listing page.