Magento : Custom Layout Update XML On Specific Category

You can set Magento category specific layout XML in the following location as follows:
Location: app/design/frontend/[YOUR_PACKAGE]/[YOUR_THEME]/layout/local.xml
<layout>
<CATEGORY_10> <!-- 10 is category ID. you can get this id in your magento admin -->
<!-- set category specific layout XML here -->
</CATEGORY_10>
</layout>

Note: 1) <CATEGORY_10> is one of the layout handle which is applied before custom layout XML specified in Admin Panel.
2) The layout handle <catalog_category_default> does not work in custom layout XML for specific category.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s