How do i change the order of blocks i the left sidebar? I want the shop by block to be just under the menu.
Hope you can help
Thanks in advance.
Illustration:
Solved! Go to Solution.
Create local.xml in your magento theme similar to the path: app\design\frontend\myPakage\myTheme\layout\local.xml and add the below code at your created local.xml file.
<?xml version="1.0"?> <layout version="0.1.0"> <catalog_category_default translate="label"> <reference name="left"> <!-- Here for left side content file of your path which you require to display in the line, there are some syntex in xml which is stated below. before="here_your_name", after="here_your_name" Code would be displayed as below. --> <block type="catalog/layer_view" after="your_left_menu_name" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/> </reference> </catalog_category_default> <catalog_category_layered translate="label"> <reference name="left"> <!-- Here for left side content file of your path which you require to display in the line, there are some syntex in xml which is stated below. before="here_your_name", after="here_your_name" Code would be displayed as below. --> <block type="catalog/layer_view" after="your_left_menu_name" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/> </reference> </catalog_category_layered> </layout>
Hope this helps you. Please feel free to connect incase of any query/concern regarding this.
Create local.xml in your magento theme similar to the path: app\design\frontend\myPakage\myTheme\layout\local.xml and add the below code at your created local.xml file.
<?xml version="1.0"?> <layout version="0.1.0"> <catalog_category_default translate="label"> <reference name="left"> <!-- Here for left side content file of your path which you require to display in the line, there are some syntex in xml which is stated below. before="here_your_name", after="here_your_name" Code would be displayed as below. --> <block type="catalog/layer_view" after="your_left_menu_name" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/> </reference> </catalog_category_default> <catalog_category_layered translate="label"> <reference name="left"> <!-- Here for left side content file of your path which you require to display in the line, there are some syntex in xml which is stated below. before="here_your_name", after="here_your_name" Code would be displayed as below. --> <block type="catalog/layer_view" after="your_left_menu_name" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/> </reference> </catalog_category_layered> </layout>
Hope this helps you. Please feel free to connect incase of any query/concern regarding this.