I’m still researching an answer on this one but the situation is that I have several info pages made that list products related to the page name. Those page names are in a taxonomy that’s part of the products metadata so it’s all interconnected.
I figure I could pull the products I need by using the page title like so:
post_type=product&tax_query%5Btaxonomy%5D=product_cat&tax_query%5Bterms%5D=c
However, all this does is pull the latest products in order which means the last part isn’t being read.
Another idea is to set up a looper for all products with Meta Values set to filter out every product that doesn’t have an entry for that particular taxonomy. After that, I figure I could make another looper using a query string to just target the filtered results with the value of the page title but that doesn’t seem to work either.
In this case, there’s a custom taxonomy called “Artist” which I’m able to use as the Meta Key to filter out the products I need. However, I guess I don’t know what values I’m able to put in to Meta Value to make the page template dynamic. I tried putting in a sub-taxonomy ID, the sub-taxonomy term itself and of course the page title {{dc:post:title}}
as well. I imagine I’m probably using Meta Values wrong here but I will keep spelunking for answers.