Navigation / Mega menu missing when Varnish Cache is activated with Magento 2

Follow

Comments

2 comments

  • Avatar
    John van der Stelt

    This refers to a very old bug.
    The native Magento menu is not affected. Shouldn't this fix be part of the Weltpixel Pearl theme?

    1
    Comment actions Permalink
  • Avatar
    Kyrylo K

    To **Edit `default.xml` in Your Custom Theme**:

     `app/design/frontend/<Vendor>/<theme>/Magento_Theme/layout`, edit the `default.xml` file with the following code:

       <referenceBlock name="catalog.topnav">
           <action method="unsetData">
               <argument name="key" xsi:type="string">ttl</argument>
           </action>
       </referenceBlock>
    0
    Comment actions Permalink

Please sign in to leave a comment.