Magento 2: How to stop expanding advanced layered navigation tab on a page load? Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30 pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Magento - Advanced search and layered navigation (Hybrid)Order filter layered navigation magentoURL Rewrites And Layered NavigationImproved layered navigation suggestionsmagento 2 how add new tab to layered navigation?Magento 2 layered navigation custom collectionmagento 2 layered navigation on CMS page or homepage with selected categoryMagento 2 Layered Navigation on Advanced Search Result PageTrouble Opening Category Tab by Default (Layered Navigation)My category navigation layered navigation is showing no products

Why isn't everyone flabbergasted about Bran's "gift"?

What were wait-states, and why was it only an issue for PCs?

Determinant of a matrix with 2 equal rows

Did war bonds have better investment alternatives during WWII?

France's Public Holidays' Puzzle

What is the ongoing value of the Kanban board to the developers as opposed to management

What is ls Largest Number Formed by only moving two sticks in 508?

Simulate round-robin tournament draw

false 'Security alert' from Google - every login generates mails from 'no-reply@accounts.google.com'

Does using the Inspiration rules for character defects encourage My Guy Syndrome?

How to compute a Jacobian using polar coordinates?

What's the difference between using dependency injection with a container and using a service locator?

What is the definining line between a helicopter and a drone a person can ride in?

Why is water being consumed when my shutoff valve is closed?

Why did Israel vote against lifting the American embargo on Cuba?

Why doesn't the university give past final exams' answers?

"Working on a knee"

Like totally amazing interchangeable sister outfit accessory swapping or whatever

How did Elite on the NES work?

What do you call an IPA symbol that lacks a name (e.g. ɲ)?

Why does Java have support for time zone offsets with seconds precision?

How long can a nation maintain a technological edge over the rest of the world?

Processing ADC conversion result: DMA vs Processor Registers

Does Prince Arnaud cause someone holding the Princess to lose?



Magento 2: How to stop expanding advanced layered navigation tab on a page load?



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30 pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Magento - Advanced search and layered navigation (Hybrid)Order filter layered navigation magentoURL Rewrites And Layered NavigationImproved layered navigation suggestionsmagento 2 how add new tab to layered navigation?Magento 2 layered navigation custom collectionmagento 2 layered navigation on CMS page or homepage with selected categoryMagento 2 Layered Navigation on Advanced Search Result PageTrouble Opening Category Tab by Default (Layered Navigation)My category navigation layered navigation is showing no products



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am getting expanded tabs for all attributes in layered navigation when category page loads.
I want navigation like this on page load
enter image description here



Does anyone have any idea about it?










share|improve this question






















  • Follow this link : stackoverflow.com/questions/38904633/…

    – Sanjay Gohil
    Apr 19 at 9:55

















0















I am getting expanded tabs for all attributes in layered navigation when category page loads.
I want navigation like this on page load
enter image description here



Does anyone have any idea about it?










share|improve this question






















  • Follow this link : stackoverflow.com/questions/38904633/…

    – Sanjay Gohil
    Apr 19 at 9:55













0












0








0








I am getting expanded tabs for all attributes in layered navigation when category page loads.
I want navigation like this on page load
enter image description here



Does anyone have any idea about it?










share|improve this question














I am getting expanded tabs for all attributes in layered navigation when category page loads.
I want navigation like this on page load
enter image description here



Does anyone have any idea about it?







magento2 layered-navigation






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 19 at 9:38









Bhakti ThakkarBhakti Thakkar

626114




626114












  • Follow this link : stackoverflow.com/questions/38904633/…

    – Sanjay Gohil
    Apr 19 at 9:55

















  • Follow this link : stackoverflow.com/questions/38904633/…

    – Sanjay Gohil
    Apr 19 at 9:55
















Follow this link : stackoverflow.com/questions/38904633/…

– Sanjay Gohil
Apr 19 at 9:55





Follow this link : stackoverflow.com/questions/38904633/…

– Sanjay Gohil
Apr 19 at 9:55










1 Answer
1






active

oldest

votes


















0














You need to create




Magento_LayeredNavigation/templates/layer/view.phtml




to your theme folder.



Now change,



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





share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "479"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270774%2fmagento-2-how-to-stop-expanding-advanced-layered-navigation-tab-on-a-page-load%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You need to create




    Magento_LayeredNavigation/templates/layer/view.phtml




    to your theme folder.



    Now change,



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





    share|improve this answer



























      0














      You need to create




      Magento_LayeredNavigation/templates/layer/view.phtml




      to your theme folder.



      Now change,



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





      share|improve this answer

























        0












        0








        0







        You need to create




        Magento_LayeredNavigation/templates/layer/view.phtml




        to your theme folder.



        Now change,



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





        share|improve this answer













        You need to create




        Magento_LayeredNavigation/templates/layer/view.phtml




        to your theme folder.



        Now change,



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






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 19 at 9:59









        Sudhanshu BajajSudhanshu Bajaj

        365




        365



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid …


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270774%2fmagento-2-how-to-stop-expanding-advanced-layered-navigation-tab-on-a-page-load%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Does high air pressure throw off wheel balance? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Should we be closing questions more regularly?How much should I inflate my tire?Which tire pressure is right for my 2008 Toyota Yaris's front tires?Should I let air out of my tires?Tire Pressure Adjustments When NeededRadial tires: Do they bulge at too high pressure?Cold weather tire pressure adjustmentHow does tire pressure vary with altitude?Why does a tire have the same air pressure when mounted on the car and when not?What does tire size have to do with the capabilities of an air compressor?Tire pressure with tires on vs off the car

            Magento2 - How to hide price filter only in specific categories?Multiselect price filter attribute in layered navigationhide only some categories from layered navigation in magentoRemove Price Filter on certain categoriescustomize layered price filter?Hide Price for a particular customer groupPrice filter in layered navigation not working correctly with price including tax in magento 2.2.3Magento 2 how to hide attribute at Layered navigation?Magento 2. how to hide price only for specific categoriesMagento 2 How can I hide the price and total from cart and checkout summary?Magento2: Can we add navigation layered filter like price filter for other attribute?

            Inventory management after order created via rest API in Magento 2.x version ( without cart)Magento - Create order using REST APILocalization for Cart/Quote APIs doesn't work properly in magento 2Magento 1.9 - Create order using REST APIPLacing Order Magento 2.1 REST APIREST API accessible without authorizationMagento 2.2 Inventory not getting decreased when orders are created using REST APIWhat is the usage of itemId inside Update inventory REST API?Get category meta tags via REST APIGet cart info REST APIAdding a grouped product to cart via the rest api