Important. We are closed. Due to decreased amount of time available, we don't accept new orders and we don't provide support for existing ones.

Really incredible support from the team at MANAdev. I was having some issues getting the Layered Navigation SEO Plus set up as my theme was causing a ... Read more

Jan 10, 2017 Chanette Kennedy

Certified Magento Enterprise developer Certified Magento developer Certified Magento theme developer Certified Magento specialist

Manadev is certified extension and theme
developer for Magento

Category Configuration

Category Configuration

Catalog-> Manage Categories

Anchor and non anchor category pages

Categories in Magento can be anchor and non anchor (set to Is Anchor = Yes in category management or not). For layered navigation, based on attributes, to work in Magento it is mandatory to set category and all its subcategories Is Anchor to Yes.

Admin setup for anchor category in Magento

Above: To make category Anchor in Magento admin panel select Catalog->Manage Categories menu, select some category and open Display settings tab.

Non Anchor Category - contains only products directly assigned to it. By default only block of categories is displayed and products cannot be filtered with Layered Navigation.

Anchor category - differently from non anchor category it contains products assigned to it and to all subcategories. Also Layered Navigation is shown.

Non anchor magento category page example

Above is typical non anchor Magento category page example

There are 2 typical store setups:

  1. All categories are anchor. In this case all categories can be filtered with layered navigation.
  2. First level or two of category tree is non-anchor and deeper categories are anchor. In this setup top categories typically do not show products, and instead they show thumbnails for deeper subcategories, and deeper subcategories show both layered navigation and products.

Either way, when some category is anchor, all its subcategories should be anchor too.

Enabling Or Disabling Category Showing In Layered Navigation

Extension adds a General tab into standard Magento category management screen. Here you can either enable or disable the category showing in Layered Navigation.

  • In order to access category configuration go to menu Catalog-> Manage Categories in Magento Admin Panel.
  • In category tree select the one and open General tab.
  • Show In Layered Navigation Filter parameter let to enable or disable category showing in Layered Navigation.

    SEO Layered Navigation Category Configuration

Mass Enabling For All Existing Categories

After extension is installed, all categories are enabled for Layered Navigation. But if category data are imported from external system, it can be needed to enable them after that.

Here is the script, which can help to enable all categories for Layered Navigation:

INSERT INTO `catalog_category_entity_int`(`entity_type_id`,
   SELECT e.entity_type_id,
          0 AS store_id,
          1 AS value
     FROM    `catalog_category_entity` AS e
          INNER JOIN
             `eav_attribute` AS a
          ON     a.entity_type_id = e.entity_type_id
             AND a.attribute_code = 'm_show_in_layered_navigation'

We Accept: PayPal Visa MasterCard American Express Discover