Solved

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

Posted on 2010-09-20
5
1,369 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 500 total points
ID: 33730027
I did not try out the functionality. Let me look at it.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JQuery event not triggering 5 79
Woocommerce showing empty pink box on checkout page 10 61
Affiliate marketing 3 116
Magento: different theme for Pc and for mobile devices 4 73
The aim of this article is to help you solve the error "Cannot insert the value NULL into column 'ShortDescription', table 'albert_store.dbo.Nop_Product'; column does not allow nulls. UPDATE fails." problem and allow you to continue updating your No…
Every business owner understands the significance of online customer reviews and the impact it can have on sales and revenues. With technology advancing at such a rapid pace, getting online reviews has never been easier, especially when many regions…
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…

756 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