- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2017
11:25 AM
08-29-2017
11:25 AM
How to display categories list on product page sidebar?
Categories listing code in a phtml file and also add that block in xml after that not display on product page sidebar.
Please help me.
Thanks.
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2017
10:30 PM
09-11-2017
10:30 PM
Re: How to display categories list on product page sidebar?
Are you looking for category list in product page ?
So you want to display all the category or the category hierarchy ?
Please mention what exactly you are looking for.
Suman Kar(suman.jis@gmail.com) Magento Certified Developer Plus Skype: sumanphptech Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2017
02:32 AM
09-19-2017
02:32 AM
Re: How to display categories list on product page sidebar?
If you want to show the category navigation on product page first set the product layout to two column left then add the following code in you default.xml or from admin panel if you want to do specific product product design tab.
<referenceContainer name="sidebar.main"> <block class="Magento\LayeredNavigation\Block\Navigation\Category" name="catalog.leftnav" before="-" template="layer/view.phtml"> </block> </referenceContainer>
Find helpful ? Consider Giving Kudos to this post.
Problem solved? Click Accept as Solution!"
Qaisar Satti
Problem solved? Click Accept as Solution!"
Qaisar Satti