28 August 2014

Category - Anchor Categories trong Magento

In addition to the standard layered navigation, anchor categories appear in an additional section that lets you filter the list by attribute value. The attribute section of layered navigation appears if the category is set to “Is Anchor.” Each attribute can be configured to display the results, which is the number of matching records found.
Setting up anchored layered navigation is a two-step process. First, you need to set up the filterable attributes. Then, make the category an anchor. http://go.magento.com/support/kb/entry/name/anchor-categories/

Step 1: Set the Attribute Properties

  1. From the Admin menu, select Catalog > Attributes > Manage Attributes.
  2. Click to open the attribute in Edit mode, and do the following:
    1. Scroll down to the Frontend Properties section, and set Use In Layered Navigation to one of the following:
      • Filterable (with results)
      • Filterable (no results)
    2. Set Use In Search Results Layered Navigation to “Yes.”

Step 2: Make the Category an Anchor

  1. From the Admin panel, select Catalog > Manage Categories.
  2. In the Categories panel on the left, click to open the category. Then, do the following:
    1. On the Display Settings tab, set Is Anchor to “Yes.”
    2. Click the Save Category button.
  3. To test the setting, go to your store and select the category from the top navigation. The layered navigation with filters will appear in the left sidebar of the page.

No comments:

Post a Comment

Hãy thoải mái khi gửi nhận xét và câu hỏi cho Quốc Duy. Chân thành cảm ơn