Hey @jarvis thanks for the help! I have also tested it and it doesn’t seem to work. Also are you sure that the code is supposed to work for product categories? Keeping in mind that it’s under a post type of product and taxonomy product_cat, I don’t think it’s the correct approach.
Please take a look at these pathways:
Product categories: /wp-admin/edit-tags.php?taxonomy=product_cat&post_type=product
Specific product category: /wp-admin/term.php?taxonomy=product_cat&tag_ID=3449
Thank you again. It’s much appreciated!