Magento 2 - Category Listing in Left ColumnMagento 2 - Category Listing in Left sidebarMagento 2 - show category tree in left navigationMagento 2 - Retrieve categoriesDrag and drop category errorInsert Block in left sidebar of layered navigationMagento 2 - How do I set up a category page?Magento 2 - Category Listing in Left sidebarMagento 2 : subcategories in category menushow categories on left sideMagento 2 - Layered navigation Parent and Child Category Filter issue

Were any of the books mentioned in this scene from the movie Hackers real?

Understanding Python syntax in lists vs series

Variance and covariance inequality

How to not get blinded by an attack at dawn

Did any "washouts" of the Mercury program eventually become astronauts?

Was the dragon prowess intentionally downplayed in S08E04?

What color to choose as "danger" if the main color of my app is red

Is the seat-belt sign activation when a pilot goes to the lavatory standard procedure?

Understanding Deutch's Algorithm

How to continually let my readers know what time it is in my story, in an organic way?

c++ conditional uni-directional iterator

Holding rent money for my friend which amounts to over $10k?

Computing a series sum

Wireless headphones interfere with Wi-Fi signal on laptop

Is my test coverage up to snuff?

Why would someone open a Netflix account using my Gmail address?

Which creature is depicted in this Xanathar's Guide illustration of a war mage?

Why commonly or frequently used fonts sizes are even numbers like 10px, 12px, 16px, 24px, or 32px?

Would life always name the light from their sun "white"

Will there be more tax deductions if I put the house completely under my name, versus doing a joint ownership?

What would a Dragon have to exhale to cause rain?

Can I say: "When was your train leaving?" if the train leaves in the future?

What dog breeds survive the apocalypse for generations?

What kind of action are dodge and disengage?



Magento 2 - Category Listing in Left Column


Magento 2 - Category Listing in Left sidebarMagento 2 - show category tree in left navigationMagento 2 - Retrieve categoriesDrag and drop category errorInsert Block in left sidebar of layered navigationMagento 2 - How do I set up a category page?Magento 2 - Category Listing in Left sidebarMagento 2 : subcategories in category menushow categories on left sideMagento 2 - Layered navigation Parent and Child Category Filter issue






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








1















I need to list out categories and child categories in the left nav of the category page and I'm trying to use this extension:



https://github.com/Sebwite/magento2-category-sidebar



As of now all that it is doing is showing the to root category and not pulling in any of the child categories:
enter image description here



Is there another solution to this? Or does someone have experience with this particular extension and would know what is going on?










share|improve this question

















  • 1





    Is all parent categories have Is Anchor value yes if not make it yes and re-index and try.

    – Aman Alam
    Jun 22 '16 at 21:42











  • You welcome always

    – Aman Alam
    Jun 23 '16 at 5:33











  • I also encountered the same problem, please tell me how to do? I have run the command: php bin / magento indexer: reindex However, no change

    – user41664
    Jul 1 '16 at 13:46











  • I followed Aman's instructions and made sure all of my parent categories has Is Anchor set to yes and then I ran php bin/magento indexer:reindex at the root install of magento 2. Also, make sure you have caching turned off or clear your cache after running the command.

    – Paul
    Jul 1 '16 at 14:38











  • I also have the same issue and I fix this using Is Anchor . I want to remove the "Default category " from left side bar , Its working fine in local server , but on dev server the left sidebar start with "Default Category" . I did check all the settings and everything is same.

    – Pravin
    May 12 '17 at 7:34

















1















I need to list out categories and child categories in the left nav of the category page and I'm trying to use this extension:



https://github.com/Sebwite/magento2-category-sidebar



As of now all that it is doing is showing the to root category and not pulling in any of the child categories:
enter image description here



Is there another solution to this? Or does someone have experience with this particular extension and would know what is going on?










share|improve this question

















  • 1





    Is all parent categories have Is Anchor value yes if not make it yes and re-index and try.

    – Aman Alam
    Jun 22 '16 at 21:42











  • You welcome always

    – Aman Alam
    Jun 23 '16 at 5:33











  • I also encountered the same problem, please tell me how to do? I have run the command: php bin / magento indexer: reindex However, no change

    – user41664
    Jul 1 '16 at 13:46











  • I followed Aman's instructions and made sure all of my parent categories has Is Anchor set to yes and then I ran php bin/magento indexer:reindex at the root install of magento 2. Also, make sure you have caching turned off or clear your cache after running the command.

    – Paul
    Jul 1 '16 at 14:38











  • I also have the same issue and I fix this using Is Anchor . I want to remove the "Default category " from left side bar , Its working fine in local server , but on dev server the left sidebar start with "Default Category" . I did check all the settings and everything is same.

    – Pravin
    May 12 '17 at 7:34













1












1








1


1






I need to list out categories and child categories in the left nav of the category page and I'm trying to use this extension:



https://github.com/Sebwite/magento2-category-sidebar



As of now all that it is doing is showing the to root category and not pulling in any of the child categories:
enter image description here



Is there another solution to this? Or does someone have experience with this particular extension and would know what is going on?










share|improve this question














I need to list out categories and child categories in the left nav of the category page and I'm trying to use this extension:



https://github.com/Sebwite/magento2-category-sidebar



As of now all that it is doing is showing the to root category and not pulling in any of the child categories:
enter image description here



Is there another solution to this? Or does someone have experience with this particular extension and would know what is going on?







magento2 category extensions






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 22 '16 at 21:20









PaulPaul

68331225




68331225







  • 1





    Is all parent categories have Is Anchor value yes if not make it yes and re-index and try.

    – Aman Alam
    Jun 22 '16 at 21:42











  • You welcome always

    – Aman Alam
    Jun 23 '16 at 5:33











  • I also encountered the same problem, please tell me how to do? I have run the command: php bin / magento indexer: reindex However, no change

    – user41664
    Jul 1 '16 at 13:46











  • I followed Aman's instructions and made sure all of my parent categories has Is Anchor set to yes and then I ran php bin/magento indexer:reindex at the root install of magento 2. Also, make sure you have caching turned off or clear your cache after running the command.

    – Paul
    Jul 1 '16 at 14:38











  • I also have the same issue and I fix this using Is Anchor . I want to remove the "Default category " from left side bar , Its working fine in local server , but on dev server the left sidebar start with "Default Category" . I did check all the settings and everything is same.

    – Pravin
    May 12 '17 at 7:34












  • 1





    Is all parent categories have Is Anchor value yes if not make it yes and re-index and try.

    – Aman Alam
    Jun 22 '16 at 21:42











  • You welcome always

    – Aman Alam
    Jun 23 '16 at 5:33











  • I also encountered the same problem, please tell me how to do? I have run the command: php bin / magento indexer: reindex However, no change

    – user41664
    Jul 1 '16 at 13:46











  • I followed Aman's instructions and made sure all of my parent categories has Is Anchor set to yes and then I ran php bin/magento indexer:reindex at the root install of magento 2. Also, make sure you have caching turned off or clear your cache after running the command.

    – Paul
    Jul 1 '16 at 14:38











  • I also have the same issue and I fix this using Is Anchor . I want to remove the "Default category " from left side bar , Its working fine in local server , but on dev server the left sidebar start with "Default Category" . I did check all the settings and everything is same.

    – Pravin
    May 12 '17 at 7:34







1




1





Is all parent categories have Is Anchor value yes if not make it yes and re-index and try.

– Aman Alam
Jun 22 '16 at 21:42





Is all parent categories have Is Anchor value yes if not make it yes and re-index and try.

– Aman Alam
Jun 22 '16 at 21:42













You welcome always

– Aman Alam
Jun 23 '16 at 5:33





You welcome always

– Aman Alam
Jun 23 '16 at 5:33













I also encountered the same problem, please tell me how to do? I have run the command: php bin / magento indexer: reindex However, no change

– user41664
Jul 1 '16 at 13:46





I also encountered the same problem, please tell me how to do? I have run the command: php bin / magento indexer: reindex However, no change

– user41664
Jul 1 '16 at 13:46













I followed Aman's instructions and made sure all of my parent categories has Is Anchor set to yes and then I ran php bin/magento indexer:reindex at the root install of magento 2. Also, make sure you have caching turned off or clear your cache after running the command.

– Paul
Jul 1 '16 at 14:38





I followed Aman's instructions and made sure all of my parent categories has Is Anchor set to yes and then I ran php bin/magento indexer:reindex at the root install of magento 2. Also, make sure you have caching turned off or clear your cache after running the command.

– Paul
Jul 1 '16 at 14:38













I also have the same issue and I fix this using Is Anchor . I want to remove the "Default category " from left side bar , Its working fine in local server , but on dev server the left sidebar start with "Default Category" . I did check all the settings and everything is same.

– Pravin
May 12 '17 at 7:34





I also have the same issue and I fix this using Is Anchor . I want to remove the "Default category " from left side bar , Its working fine in local server , but on dev server the left sidebar start with "Default Category" . I did check all the settings and everything is same.

– Pravin
May 12 '17 at 7:34










3 Answers
3






active

oldest

votes


















0














After reindexing my data, it worked. I just ran this at the webroot of my magento install:



php bin/magento indexer:reindex





share|improve this answer






























    0














    In my case, I installed this extension with composer. And it also has this bug. I downloaded zip package and reinstall it. And now it works. The package with composer was out of date.






    share|improve this answer






























      0














      We can get categories and subcategories by below code at anywhere



      <?php
      $objectManagerr = MagentoFrameworkAppObjectManager::getInstance();
      $categoryFactory = $objectManagerr->create('MagentoCatalogModelResourceModelCategoryCollectionFactory');

      $categories = $categoryFactory->create()
      ->addAttributeToSelect('*');

      foreach ($categories as $category)
      $catId = $category->getId();
      echo $category->getName();
      $subcategory = $objectManagerr->create('MagentoCatalogModelCategory')->load($catId);
      $subcats = $subcategory->getChildrenCategories();
      foreach ($subcats as $subcat)
      $_category = $objectManagerr->create('MagentoCatalogModelCategory')->load($subcat->getId());
      echo $_category->getName();


      ?>





      share|improve this answer























      • As per the magento 2 concept Object manager is not standard way to do. you need to use factory method. Many of the developers are recommending standard solutions that will definately help someone to follow the standard solution.

        – jack
        Oct 28 '17 at 12:35











      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%2f122363%2fmagento-2-category-listing-in-left-column%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      After reindexing my data, it worked. I just ran this at the webroot of my magento install:



      php bin/magento indexer:reindex





      share|improve this answer



























        0














        After reindexing my data, it worked. I just ran this at the webroot of my magento install:



        php bin/magento indexer:reindex





        share|improve this answer

























          0












          0








          0







          After reindexing my data, it worked. I just ran this at the webroot of my magento install:



          php bin/magento indexer:reindex





          share|improve this answer













          After reindexing my data, it worked. I just ran this at the webroot of my magento install:



          php bin/magento indexer:reindex






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jun 23 '16 at 0:10









          PaulPaul

          68331225




          68331225























              0














              In my case, I installed this extension with composer. And it also has this bug. I downloaded zip package and reinstall it. And now it works. The package with composer was out of date.






              share|improve this answer



























                0














                In my case, I installed this extension with composer. And it also has this bug. I downloaded zip package and reinstall it. And now it works. The package with composer was out of date.






                share|improve this answer

























                  0












                  0








                  0







                  In my case, I installed this extension with composer. And it also has this bug. I downloaded zip package and reinstall it. And now it works. The package with composer was out of date.






                  share|improve this answer













                  In my case, I installed this extension with composer. And it also has this bug. I downloaded zip package and reinstall it. And now it works. The package with composer was out of date.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 17 '17 at 3:27









                  Hùng Thế HiểnHùng Thế Hiển

                  17916




                  17916





















                      0














                      We can get categories and subcategories by below code at anywhere



                      <?php
                      $objectManagerr = MagentoFrameworkAppObjectManager::getInstance();
                      $categoryFactory = $objectManagerr->create('MagentoCatalogModelResourceModelCategoryCollectionFactory');

                      $categories = $categoryFactory->create()
                      ->addAttributeToSelect('*');

                      foreach ($categories as $category)
                      $catId = $category->getId();
                      echo $category->getName();
                      $subcategory = $objectManagerr->create('MagentoCatalogModelCategory')->load($catId);
                      $subcats = $subcategory->getChildrenCategories();
                      foreach ($subcats as $subcat)
                      $_category = $objectManagerr->create('MagentoCatalogModelCategory')->load($subcat->getId());
                      echo $_category->getName();


                      ?>





                      share|improve this answer























                      • As per the magento 2 concept Object manager is not standard way to do. you need to use factory method. Many of the developers are recommending standard solutions that will definately help someone to follow the standard solution.

                        – jack
                        Oct 28 '17 at 12:35















                      0














                      We can get categories and subcategories by below code at anywhere



                      <?php
                      $objectManagerr = MagentoFrameworkAppObjectManager::getInstance();
                      $categoryFactory = $objectManagerr->create('MagentoCatalogModelResourceModelCategoryCollectionFactory');

                      $categories = $categoryFactory->create()
                      ->addAttributeToSelect('*');

                      foreach ($categories as $category)
                      $catId = $category->getId();
                      echo $category->getName();
                      $subcategory = $objectManagerr->create('MagentoCatalogModelCategory')->load($catId);
                      $subcats = $subcategory->getChildrenCategories();
                      foreach ($subcats as $subcat)
                      $_category = $objectManagerr->create('MagentoCatalogModelCategory')->load($subcat->getId());
                      echo $_category->getName();


                      ?>





                      share|improve this answer























                      • As per the magento 2 concept Object manager is not standard way to do. you need to use factory method. Many of the developers are recommending standard solutions that will definately help someone to follow the standard solution.

                        – jack
                        Oct 28 '17 at 12:35













                      0












                      0








                      0







                      We can get categories and subcategories by below code at anywhere



                      <?php
                      $objectManagerr = MagentoFrameworkAppObjectManager::getInstance();
                      $categoryFactory = $objectManagerr->create('MagentoCatalogModelResourceModelCategoryCollectionFactory');

                      $categories = $categoryFactory->create()
                      ->addAttributeToSelect('*');

                      foreach ($categories as $category)
                      $catId = $category->getId();
                      echo $category->getName();
                      $subcategory = $objectManagerr->create('MagentoCatalogModelCategory')->load($catId);
                      $subcats = $subcategory->getChildrenCategories();
                      foreach ($subcats as $subcat)
                      $_category = $objectManagerr->create('MagentoCatalogModelCategory')->load($subcat->getId());
                      echo $_category->getName();


                      ?>





                      share|improve this answer













                      We can get categories and subcategories by below code at anywhere



                      <?php
                      $objectManagerr = MagentoFrameworkAppObjectManager::getInstance();
                      $categoryFactory = $objectManagerr->create('MagentoCatalogModelResourceModelCategoryCollectionFactory');

                      $categories = $categoryFactory->create()
                      ->addAttributeToSelect('*');

                      foreach ($categories as $category)
                      $catId = $category->getId();
                      echo $category->getName();
                      $subcategory = $objectManagerr->create('MagentoCatalogModelCategory')->load($catId);
                      $subcats = $subcategory->getChildrenCategories();
                      foreach ($subcats as $subcat)
                      $_category = $objectManagerr->create('MagentoCatalogModelCategory')->load($subcat->getId());
                      echo $_category->getName();


                      ?>






                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Aug 17 '17 at 7:55









                      Abhinav SinghAbhinav Singh

                      2,155612




                      2,155612












                      • As per the magento 2 concept Object manager is not standard way to do. you need to use factory method. Many of the developers are recommending standard solutions that will definately help someone to follow the standard solution.

                        – jack
                        Oct 28 '17 at 12:35

















                      • As per the magento 2 concept Object manager is not standard way to do. you need to use factory method. Many of the developers are recommending standard solutions that will definately help someone to follow the standard solution.

                        – jack
                        Oct 28 '17 at 12:35
















                      As per the magento 2 concept Object manager is not standard way to do. you need to use factory method. Many of the developers are recommending standard solutions that will definately help someone to follow the standard solution.

                      – jack
                      Oct 28 '17 at 12:35





                      As per the magento 2 concept Object manager is not standard way to do. you need to use factory method. Many of the developers are recommending standard solutions that will definately help someone to follow the standard solution.

                      – jack
                      Oct 28 '17 at 12:35

















                      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%2f122363%2fmagento-2-category-listing-in-left-column%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

                      Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                      Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                      Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?