?
Solved

Magento - Display attribute filters in center column "col-main" on

Posted on 2010-09-20
5
Medium Priority
?
1,392 Views
Last Modified: 2012-05-10
I would like to display the attribute filters in the center column, how would I accomplish this?

Here is an example:
http://www.carbonfiberhoods.com/exterior.html

I would like the "SHOP BY" filters displayed in the center css class of "col-main", I'm assuming I have to edit local.xml or something.  How do we do this?
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 12

Expert Comment

by:miked2004
ID: 33725272
Hey That's an easy one.

In your themes layout folder find catalog.xml
All you need to do is move the reference to the catalog.lefnav block to the content block.

This is the original Below(Just a portion of the code)
<catalog_category_layered translate="label">
        <label>Catalog Category (Anchor)</label>
        <reference name="left">
            <block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
        </reference>
        <reference name="content">
            <block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
                <block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
                    <!-- <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/su.phtml</template></action> -->
                    <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">





Here is the modified code.
<catalog_category_layered translate="label">
        <label>Catalog Category (Anchor)</label>
        <reference name="left">
            <!--  <block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/> -->
        </reference>
        <reference name="content">
        	<block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
            <block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">

Open in new window

0
 
LVL 12

Expert Comment

by:miked2004
ID: 33725279
Notice the new block in "<reference name="content">"
0
 

Author Comment

by:www_puertoricoautoforo_com
ID: 33729942
So I comment out the old line for the left column and added this in <content> in my catalog.xml

<block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>

Which seems to work great, visually it looks perfect,  but when I start filtering items I get errors..

Did you try navigating around with the menu in the center? (adding and removing filters?)
0
 

Author Comment

by:www_puertoricoautoforo_com
ID: 33729956
Do I need to edit this to get it to function properly?

app/design/frontend/base/default/template/catalog/layer/state.phtml
0
 
LVL 12

Accepted Solution

by:
miked2004 earned 2000 total points
ID: 33730027
I did not try out the functionality. Let me look at it.
0

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read about how to choose the best possible content marketing agency to suit your needs. Content marketing has become an integral part of running a successful tech business, so it is wise to be informed.
This article was initially published on Monitis Blog, you can read it here . When it comes to deciding which approach to website performance monitoring is best for your business, unfortunately, like so many options in life . . . it depends. In th…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question