Forums › Forums › Search & Filter Pro › Hierarchical taxonomy AND instead of OR?
- This topic has 1 reply, 2 voices, and was last updated 9 years, 11 months ago by Ross.
-
Anonymous(Private) December 16, 2014 at 10:42 am #9118
Hello,
I have problem with PRO version and hierarchical custom taxonomy.
The custom taxonmy is “Type” and it is divided into four subcategories:
Type->Format, Type->Product, Type->Technology, Type->Topic
I’d like to create dropdown based on Format and three checkboxes groups: Products, Technologies & Topics.
I’ve created four “Taxonomy” items with drag & drop and in fact the “Type” custom taxonomy was “aliased” four times:
– Format – all IDs excluding (Product, Tech.
& Toopic ones)
– Product – all IDs exluding Format, Tech. & Topic ones
and so on.
Problem is that all the four secitions seem to be joined logically with OR not with AND (AND works within given group of checkboxes)
How to achieve logical “AND” between the four groups?
Please note, I cannot just tick “Hierarchical” (it solves the problem) because one group must go to Dropdown and rest to checkboxes groups.Ross Moderator(Private) December 16, 2014 at 10:04 pm #9147Hey Adam
The problem you have here is that one taxonomy can only be represented by one field – this is an intended limitation of the plugin because 9 times out of 10 it is better, semantically to break out sub categories/terms in to their own taxonomies especially if used for searching.
So what you would need to do is instead create 4 custom taxonomies – format, product, technology, topic.
Then you could create a field for each of these – and have them display however you want.
I believe the default relationship between fields is “AND”, however in the next update you will also be able to define this (should be released tomorrow).
Thanks
-
AuthorPosts