Search code examples
opencartopencart-3

How to move the filter panel in admin product page OC 3.0.2.0?


I would like to move the filter panel in admin product page to the top of the page. In OC 2x it is in the top of the page and this is more convenient and you will have a lot more space when you later add more column to the form. Is this an easy task to move the panel and how can I do it ? Thanks in advance !


Solution

  • Edit this file:

    admin\view\template\catalog\product_list.twig
    

    Find:

    <div id="filter-product" class="col-md-3 col-md-push-9 col-sm-12 hidden-sm hidden-xs">
    

    Change it to:

    <div id="filter-product">
    

    Find:

    <div class="col-md-9 col-md-pull-3 col-sm-12">
    

    Change it to:

    <div>
    

    Then go to your admin dashboard / Gear icon / Refresh