Magento Error ” You cannot define a correlation name ” – Layered Navigation / Filter

Picture

For a Magento CE Shop the problem occurred, that there was an error, when trying to filter in the shop. In the so called. Layered navigation could not be selected filter options, without causing an error, in the log file with the “You cannot define a correlation name” described.

After some research, the problem was, that the layered navigation or. the Layered View has been mentioned several times on the page.

In the template's catalog.xml was on one side

<reference name="left">
<block type="catalog/leftnavigation" name ="catalog.leftcat" before="-" template ="catalog/navigation/leftnav.phtml"/>
<block type="catalog/layer_view" name ="catalog.leftnav" after="catalog.leftcat" template ="catalog/layer/view.phtml"/>

and on the other side

<reference name="happy">
<block type="catalog/category_view" name ="category.products" template ="catalog/category/view.phtml">
<block type="catalog/layer_view" name ="catalog.leftnav.sub_header" template ="catalog/layer/view_sub_header.phtml"/>

called. Responsible was here the block type “layer_view”. In our case, the second section was commented out (can of course also be renamed).

<!--<block type="catalog/layer_view" name ="catalog.leftnav.sub_header" template ="catalog/layer/view_sub_header.phtml"/>-->

Then worked the filter navigation.

Used in Magento Version 1.7. Ask, Comments, Proposals? Us directly or as a comment.

Published by Covos

Since 2009 I have been working intensively with Magento. I started with the creation and operation of B2C stores. This was extended through my work in the logistics sector. This resulted first specialized B2E systems. Today I work day-a day with exciting B2C, B2B- and B2E projects and reports in this blog about challenges and give insider tips.

Leave a Reply

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