Part of the Facets ecosystem · 26 projects
This module enhances taxonomy-based search results by allowing you to display terms up to a specified depth and create dependent facets that show sub-terms based on a parent term's selection. This enables more refined filtering, for example, showing fruits and vegetables at one level, and then specific fruits or vegetables at the next level based on your initial choice.
This module introduces processors to enhance taxonomy-based result display and enable dependent facets.
Key features:
-
Show terms of defined depth:
- Limits display to specified taxonomy depth.
- Example: Displaying only L1 terms like Fruits and Vegetables.
-
Show terms based on Dependee Facet:
- Facilitates displaying L2 terms based on the selected L1 term in the dependee facet.
- Example: Displaying Apple, Mango, Banana when Fruits is selected, and Potato, Onion, Garlic when Vegetables is selected.
Usage Example:
Consider a multilevel taxonomy structure:
Fruits
- Apple
- Mango
- Banana
Vegetables
- Potato
- Onion
- Garlic
On a search page with two facets:
- Facet 1 (L1 Terms):
- Utilizes 'Show terms of defined depth' to display Fruits and Vegetables only.
- Facet 2 (L2 Terms):
- Uses both processors to show L2 terms based on the selection in Facet 1.
- When Fruits is selected, display Apple, Mango, Banana.
- When Vegetables is selected, display Potato, Onion, Garlic.
- If both Fruits and Vegetables are selected, display all terms.
- Uses both processors to show L2 terms based on the selection in Facet 1.
Post-Installation
After installation and activation, configure the processors in the facets settings. Ensure compatibility with the Facets module.
Recommended modules:
This module seamlessly integrates with Facets.
Note:
- Processors exclusively apply to Taxonomy Fields.
- 'Show terms based on Dependee Facet' depends on 'Show terms of defined depth.'
Ask your assistant about Facets Taxonomy Multilevel
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Facets ecosystem
Most installed first