Cart    Account    Contact    Newsletter Signup    Showcase    Login    Signup

Developers Docs

Catalog Layered

The catalog_layered tag works with the catalog tag to generate the faceted navigation while browsing the catalog. The tag assumes that the url_title for the selected category is in the second segment. NOTE: You may optionally pass the url_title in as a parameter.

Parameters
  • url_title (optional | Default = segment_2) - The url_title for the category to display faceted navigation for. 
  • disable (optional | Accepts = 'price|category') - Remove price or category options from the layered navigation. 
Internal Tags
  • result_layered_label (single) - The faceted navigation section label 
  • result_lauyered_item (pair)
    • result_layered_link (single) - url to add item to the faceted selection
    • result_layered_title (single) - option item title
    • result_layered_count (single) - the product count for the item 


Example from Blank Theme (catalog/index)
{exp:brilliant_retail:catalog_layered url_title="{segment_3}"}
     <h4>{result_layered_label}:</h4>
          <ul class="shopby">
               {result_layered_item}
                   <li>
                        <a href="{path='{result_layered_link}'}">
                             {result_layered_title} {result_layered_count}</a></li>
               {/result_layered_item}
          </ul>
{/exp:brilliant_retail:catalog_layered}

Comments

Add Your Comments


You must be logged in to comment.