I want to display the subcategory and product tabs in category page .So i have customise the layout file .

How to do this..



Added following code inside content container:

<container name="div.sidebar.main" htmlTag="div" htmlClass="sidebar sidebar-main" after="main">
    <container name="sidebar.main" as="sidebar_main" label="Sidebar Main"/>
<container name="div.sidebar.additional" htmlTag="div" htmlClass="sidebar sidebar-additional" after="div.sidebar.main">
    <container name="sidebar.additional" as="sidebar_additional" label="Sidebar Additional"/>
  • But i want to display 2columns-left within a tab section – Mahi M Mar 9 '19 at 6:32
  • Maybe you need to add sidebar container inside product tab – Sohel Rana Mar 9 '19 at 6:36
  • yes ... how to do that – Mahi M Mar 9 '19 at 6:38
  • i want to display page should be 1column – Mahi M Mar 9 '19 at 6:39
  • check updated answer. This is working fine with M2.3 – Sohel Rana Mar 9 '19 at 6:51

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.