Advanced Search sidebar box

I was playing a bit with that advanced search form in Magento, so i thought it would be nice touch to add it to left or right column of the store.

Since that multiple selects were causing problems and i also had to get rid of breadcrumb, i created block which extends Mage_CatalogSearch_Block_Advanced_Form functionality, added a little javascript  and packed it all to small example module:

advanced-search-sidebar.zip

Unpack zip file, copy files at its appropriate place following directory structure, refresh cache to rebuild configs, layouts, blocks, and you’re on.

advanced-search-sidebar-box-2

I left few comments in the code, thought someone may find them useful. Also be sure to copy template/sidebarsearch/advanced/sidebar.phtml and layout/sidebarsearch.xml to your current theme and modify them to suit your shop needs, since css is hardcoded in template for example. Regards.

Ivan Weiler

- Technical Educator and Consultant

Ivan is a Technical Educator and Consultant. He gained lots of experience managing some of the most complex Magento projects we had at Inchoo.

Read more posts by Ivan / Visit Ivan's profile

51 comments

  1. Hello, this extension is working fine.
    I want to show categories list also at layer navigation, please let me know how can i show Category list at Advance search page left sidebar.
    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <blockquote cite=""> <code> <del datetime=""> <em> <s> <strike> <strong>. You may use following syntax for source code: <pre><code>$current = "Inchoo";</code></pre>.