ElasticPress icon indicating copy to clipboard operation
ElasticPress copied to clipboard

Have 2 Facets "Match Type" options: 1) Terms within same Taxonomy 2) Between Taxonomies

Open RetroGameTalk opened this issue 5 years ago • 4 comments

Is your enhancement related to a problem? Please describe.

This is really hard to explain for me. Bear with me please. I swear it makes sense and it's useful! Untitled

So if you have 2 facets, and you want an AND logic between facets but also an OR logic with the terms of each facet? It can't be done. It's either both AND or both OR.

graph

Describe the solution you'd like

In this case "Show any content tagged to all selected terms" so AND. In this picture i cannot select other languages down the list, they are greyed out because of the AND logic, a post not tagged "English" but tagged a different language is not selectable. If i wanted that i would have to pick OR logic from the settings but then i'd LOSE the AND logic between facets. See the issue? I need AND between facets and OR within each facet. Designs

We'd need to separate the two options. I don't know code wise but a new setting will be needed:

settings1

Describe alternatives you've considered

Begging here. Additional context

RetroGameTalk avatar Oct 24 '20 17:10 RetroGameTalk

I wonder if there's a way to hack this behavior? even if it's never officially added? thanks.

RetroGameTalk avatar Jun 14 '21 07:06 RetroGameTalk

Is there any workaround for this one please? Your plugin works great with WooCommerce but the or feature.

seldimi avatar Jan 08 '22 15:01 seldimi

I have nothing to add sorry I'm not a coder to do this. I hope it got some attention from the team though.

RetroGameTalk avatar Jan 15 '22 21:01 RetroGameTalk

I'm also interested to see this fix implemented, I like the plugin quite a bit but this would make some of the searches I'm trying to do so much easier

mercurius59 avatar Jan 15 '22 22:01 mercurius59