Display only Primary Category in product meta
-
Hello.
Is there a way to display only the primary category in the meta data of a product on a single product page, in the product archive page and “related product” loop too ?I have each product on my store that belongs to only one category ( Merch, Records, Print or Goodies) and sometimes to the Preorder category as well (which is never set as primary category). I never want the “Preorder” category term to be displayed in meta data.
Any idea how I could do that ?
I’m working on a local environnement atm so here is a pic to show what I want to remove: https://ibb.co/znkwH41
Thanks !
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Display only Primary Category in product meta’ is closed to new replies.