How to move cart in navigation section.Can any one help me thanks in advance.I try this code but does not work.

<move element="minicart" destination="navigation.sections" />

After move minicart to navigation section you must add child element in phtml file

<move element="minicart" destination="navigation.sections" />

Override vendor/magento/module-theme/view/frontend/templates/html/sections.phtml to your theme

Copy sections.phtml to


Now add child element in sections.phtml

<?php echo $this->getChildHtml('minicart') ?>

Flush cache and try.

  • @MonuKumar, Welcome. Happy Coding...! Aug 16 '17 at 11:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.