cancel
Showing results for 
Search instead for 
Did you mean: 

Filter navigation Collapsed expand functionality not working

SOLVED

Filter navigation Collapsed expand functionality not working

Hi

 

I am working with custom theme. The layered navigation filter collapse/expandable functionality is not working with my theme. As I have checked the JS is not loading for this filter.

 

Can you please suggest me.

 

Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Filter navigation Collapsed expand functionality not working

Hi @rachelraov0dba 

What is the parent theme of your custom theme you are using?

 

If you are using blank parent theme then It does not have this functionality.

 

Luma theme having this feature

 

If you are using with blank parent theme then In this case, you can get code layered navigation view.phtml and add in your theme such as below :

Get Luma  theme Magento_LayeredNavigation/templates/layer/view.phtml code

replace the code with

your custom theme  Magento_LayeredNavigation/templates/layer/view.phtml

Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!

View solution in original post

3 REPLIES 3

Re: Filter navigation Collapsed expand functionality not working

Hi @rachelraov0dba 

What is the parent theme of your custom theme you are using?

 

If you are using blank parent theme then It does not have this functionality.

 

Luma theme having this feature

 

If you are using with blank parent theme then In this case, you can get code layered navigation view.phtml and add in your theme such as below :

Get Luma  theme Magento_LayeredNavigation/templates/layer/view.phtml code

replace the code with

your custom theme  Magento_LayeredNavigation/templates/layer/view.phtml

Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!

Re: Filter navigation Collapsed expand functionality not working

@Madhu RajawatThanks

 

Yes I am using blank parent theme.

 

I will check with this.

Re: Filter navigation Collapsed expand functionality not working

Thanks @Madhu Rajawat 
Fixed the issue.