Post by kanaksoni85 » Tue Sep 04, 2018 12:12 am

Hello,
I am newbie in opencart and working hard to get grip on it. Originally filter panel is displayed next to product list but I want to display filter panel on top of product list. Can anybody help me out.

Attachments

Screenshot_2018-09-03 Products(1).png

Screenshot_2018-09-03 Products(1).png (104.4 KiB) Viewed 4672 times


New member

Posts

Joined
Thu May 10, 2018 1:25 pm

Post by DigitCart » Tue Sep 04, 2018 12:58 am

Hi,
Edit this file:

Code: Select all

admin\view\template\catalog\product_list.twig
Find:

Code: Select all

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

Code: Select all

<div id="filter-product">
Find:

Code: Select all

<div class="col-md-9 col-md-pull-3 col-sm-12">
Change it to:

Code: Select all

<div>
Then go to your admin dashboard / Gear icon / Refresh

My Extensions


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by kanaksoni85 » Tue Sep 04, 2018 4:24 pm

DigitCart wrote:
Tue Sep 04, 2018 12:58 am
Hi,
Edit this file:

Code: Select all

admin\view\template\catalog\product_list.twig
Find:

Code: Select all

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

Code: Select all

<div id="filter-product">
Find:

Code: Select all

<div class="col-md-9 col-md-pull-3 col-sm-12">
Change it to:

Code: Select all

<div>
Then go to your admin dashboard / Gear icon / Refresh
Thanks Buddy It worked...

New member

Posts

Joined
Thu May 10, 2018 1:25 pm

Post by DigitCart » Tue Sep 04, 2018 4:29 pm

You're welcome.

My Extensions


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by ostechnologies » Tue Sep 04, 2018 6:39 pm

1. Open admin\view\template\catalog\product_list.twig file.
2. Search for :
`<div id="filter-product" class="col-md-3 col-md-push-9 col-sm-12 hidden-sm hidden-xs">`
Replace with
`<div id="filter-product" class="row"> `
3. Seach for : ` <div class="form-group"> `. There will be 5 match. Before 1st paste `<div class="col-sm-4">` AND before 3rd,5th paste `</div><div class="col-sm-4">`.
4. Search for : `<button type="button" id="button-filter" class="btn btn-default"><i class="fa fa-filter"></i> {{ button_filter }}</button>` and juss after this add `</div>`.
5. Search for : `<div class="col-md-9 col-md-pull-3 col-sm-12">` and replace with `<div>` .

Opencart Expert | sales[at]ost.agency
Skype - manish.osuniverse | Gtalk - manishmt

Extensions for Opencart @ https://www.ost.agency/product/product- ... extensions
ost.agency - ecommerce website design, development and digital company


User avatar
Active Member

Posts

Joined
Mon Apr 06, 2015 1:30 pm

Post by m_uzunov » Thu Sep 27, 2018 3:07 am

kanaksoni85 wrote:
Tue Sep 04, 2018 4:24 pm
DigitCart wrote:
Tue Sep 04, 2018 12:58 am
Hi,
Edit this file:

Code: Select all

admin\view\template\catalog\product_list.twig
Find:

Code: Select all

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

Code: Select all

<div id="filter-product">
Find:

Code: Select all

<div class="col-md-9 col-md-pull-3 col-sm-12">
Change it to:

Code: Select all

<div>
Then go to your admin dashboard / Gear icon / Refresh
Thanks Buddy It worked...
i do the same but nothing happened, what did i miss. oooo modification refresh too

Newbie

Posts

Joined
Wed May 02, 2018 10:52 pm

Post by m_uzunov » Thu Sep 27, 2018 3:25 am

ostechnologies wrote:
Tue Sep 04, 2018 6:39 pm
1. Open admin\view\template\catalog\product_list.twig file.
2. Search for :
`<div id="filter-product" class="col-md-3 col-md-push-9 col-sm-12 hidden-sm hidden-xs">`
Replace with
`<div id="filter-product" class="row"> `
3. Seach for : ` <div class="form-group"> `. There will be 5 match. Before 1st paste `<div class="col-sm-4">` AND before 3rd,5th paste `</div><div class="col-sm-4">`.
4. Search for : `<button type="button" id="button-filter" class="btn btn-default"><i class="fa fa-filter"></i> {{ button_filter }}</button>` and juss after this add `</div>`.
5. Search for : `<div class="col-md-9 col-md-pull-3 col-sm-12">` and replace with `<div>` .
Thanks , thanks this was very helpful.

Newbie

Posts

Joined
Wed May 02, 2018 10:52 pm

Post by ptp285 » Mon Nov 25, 2019 1:21 pm

kanaksoni85 wrote:
Tue Sep 04, 2018 12:12 am
Hello,
I am newbie in opencart and working hard to get grip on it. Originally filter panel is displayed next to product list but I want to display filter panel on top of product list. Can anybody help me out.
Hi kanaksoni85, from your attachment I saw you can show Seller from Product list and Filter. How can we show it? Thanks

Newbie

Posts

Joined
Mon Nov 25, 2019 1:13 pm

Post by aitechbg » Wed Aug 31, 2022 6:05 pm

Feel free to use this modification similar to the one from DigitCart but a bit more extended and styled.

Attachments

Admin Filters on top


Web Development, Consulting and SEO for Europe by itech.bg


Newbie

Posts

Joined
Mon Mar 27, 2017 8:51 pm

Post by malam » Sun Oct 22, 2023 12:55 am

Hi! How can I use this file?

New member

Posts

Joined
Thu Jan 14, 2016 5:30 am
Who is online

Users browsing this forum: Google [Bot], kirkhall, Mariogs, Semrush [Bot] and 21 guests