How to add subcategories to search filter?

How to add subcategories to search filter?

domain90
Visitor
1 0 0

hello everyone,

 

So I added subcategories to my mega menu navigation. However on the search result page in the category filter I set up, the subcategories don't show up. Does anyone know a way to add subcategories in this case?mega_menu_subcategory.pngsearch_filter_subcategory.png

Reply 1 (1)

Sweans
Shopify Partner
394 76 117

Hi @domain90 ,

 

Using the default filter code might not be able to bring the sub-categories as it is coded to act as a checkbox.

To enable the sub-categories you need to update the code for the filter.

For this, it is better to hire a Shopify expert if you don't have deep coding knowledge of Shopify.

 

Please like the solution to let me know.

If you need further assistance, feel free to reach out!

 

Regards,
Sweans

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com