I have a page which shows a view with product category info (title, image, button with link), filtered by a product category term field 'menu group' (1, 2, 3, 4, 5), which displays what I want (see image: page.png)
Products also has a custom taxonomy 'Artikelart'.
I expected
[wpv-post-taxonomy type=„artikelart“ separator=", " format=„name“ order="asc"]
to show the matching values ‚Artikelart.‘
I want 'Artikelarten' to be shown for each product category in this view, like in a Custom Search matching 'Artikelarten' will be displayed automatically (see screenshot: custom-search').
As you can see in the image 'Custom Search', taxonomy 'Artikelart' is a filter for the chosen product category and shows 'Artikelarten' matching the product category.
In another view (see image 'Page') I want show the relevant titles from taxonomy 'Artikelart' to be listed comma-separated for each product category.
I use a template for this view (see screenshots).
I expected
[wpv-post-taxonomy type=„artikelart“ separator=", " format=„name“ order="asc"]
to show the matching values ‚Artikelart', but this did not work.
How can I show the relevant titles from taxonomy 'Artikelart' in this view?
I try to more clear.
I want to show values from 2 taxonomies. I tried it now with 2 views.
A taxonomy view (NavGroup1-Test) filters for product categories by term-field ‚menu-group1‘. The result is on image 'page'.
Another taxonomy view (NavGroup1-Loop) filters for ‚Artikelarten‘ with [wpv-taxonomy-title] in the loop .
(image: nav-group1-loop)
I call the view ‚NavGroup1-Loop‘ inside the view ‚NavGroup1-Test‘ (image: template-nav-group-test).
Now, by setting the filter in taxonomy view for Artikelart ‚NavGroup1-Loop‘ to
‚Value set by parent Taxonomy View‘ I get ‚No items found‚ - with other settings it displays either all values or nothing at all.
I would like to try:
Value set by the current post in the loop
but I can’t find this filter-setting in my taxonomy-view.
I hope you understand better now, what I want to achieve.
The problem is that you want to use a parent taxonomy view to filter the child taxonomy view but 'product categories' and 'artikelarten' are not related at all.
So you won't be able to filter the artikelarten view by anthing from the product category.
The only way to relate 2 taxonomies together is by relating the terms itself.
From what I see you want to filter your Products by a particular taxonomy and then on those Products being displayed you want to display the terms from the other taxonomy correct?
The first view product-categories which is filtered already. The second view is the Product view which you can add a filter to so that it filters by the Parent taxonomy view.
Finally you add the 3rd view artikelart , this is added to the post view and on that artikelart view you will add a filter to it so that it only list the terms of the Products that were filtered in the parent view.
Its like you're nesting 3 views.
Please let me know if this is clear because this is perhaps the only way to do it with your current setup because we are using the Taxonomy's relationship to the posts to list out the artikelart terms.