<p>This article was helpful getting us started when we tackled an advanced search. Though their example uses dropdowns, you'll probably want to use checkboxes for your "Herbs" and "Live Plants" categories.</p>

<p><a href="https://www.webstoemp.com/blog/combined-searches-and-filters-craft-cms/" rel="nofollow noreferrer">Combined searches and filters</a></p>

CC BY-SA 3.0
2017-04-25T14:09:45.867Z
2017-04-25T14:09:45.867Z
AbbeyDesign
<p>I'm trying to figure what would be the simplest way to do such filtering:</p>

<p>I would like to make it in that way that selecting one of "Specialities" category would limit results from the selected "Plant" category.</p>

<p>Though I want a selection of the second category to be optional, so everyone can browse live and dried i.e. Mint plants or only herbs from all plants if they want.</p>

<p>Also, I would like to implement shipping to/from drop-downs with the same functionality. </p>

<p>Expected result:
<a href="https://i.sstatic.net/c6UKR.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/c6UKR.jpg" alt="![enter image description here"></a></p>

<p>How can I start? Any help would be greatly appreciated :-) Thank you.</p>

<entries><categories><frontend><sorting>
Simple category-entry search filter
# Simple category-entry search filter

(Asked by: username_0 on 2017-04-24)

I'm trying to figure what would be the simplest way to do such filtering:

I would like to make it in that way that selecting one of "Specialities" category would limit results from the selected "Plant" category.

Though I want a selection of the second category to be optional, so everyone can browse live and dried i.e. Mint plants or only herbs from all plants if they want.

Also, I would like to implement shipping to/from drop-downs with the same functionality.

Expected result:
[![![enter image description here](https://i.sstatic.net/c6UKR.jpg)](https://i.sstatic.net/c6UKR.jpg)

How can I start? Any help would be greatly appreciated :-) Thank you.

**Tags:** entries, categories, frontend, sorting


---

## 1 answers

### Answer by username_1 on 2017-04-25. Score: 2 | Accepted answer

This article was helpful getting us started when we tackled an advanced search. Though their example uses dropdowns, you'll probably want to use checkboxes for your "Herbs" and "Live Plants" categories.

[Combined searches and filters](https://www.webstoemp.com/blog/combined-searches-and-filters-craft-cms/)


---

