cancel
Showing results for 
Search instead for 
Did you mean: 

Open Shopping Options Filter By Default

SOLVED

Open Shopping Options Filter By Default

Hi All,

 

Quick question, is there a way to have the "Shopping Options" Filter Open By Default?

 

Many Thanks

Scott

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Open Shopping Options Filter By Default

You need to Magento_LayeredNavigation/templates/layer/view.phtml to your theme folder.

 

Now change,

data-mage-init='{"accordion":{"openedState": "active", "collapsible": true, "active": false, "multipleCollapsible": false}}'

 

with,

data-mage-init='{"accordion":{"openedState": "active", "collapsible": true, "active": [0,1,2,3,4,5,6], "multipleCollapsible": false}}'
If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

View solution in original post

2 REPLIES 2

Re: Open Shopping Options Filter By Default

You need to Magento_LayeredNavigation/templates/layer/view.phtml to your theme folder.

 

Now change,

data-mage-init='{"accordion":{"openedState": "active", "collapsible": true, "active": false, "multipleCollapsible": false}}'

 

with,

data-mage-init='{"accordion":{"openedState": "active", "collapsible": true, "active": [0,1,2,3,4,5,6], "multipleCollapsible": false}}'
If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: Open Shopping Options Filter By Default

Thank You!!

 

I'd been playing with the view.phtml file without any success.

This solution worked great.

 

cheers Scott