18 Dec 2008
29 Aug 2011
Link to this post
There is a Departments widget that will work with the Product Catalog. but this puts a department selector on the page for the user to click on, this is not what we wanted.
but we noticed that by clicking on the links generated by the Department widget, it controls the product catalog by URL. So we were able to deduce the format of the URLs that cause the product list to only show certain products by department. So we embedded those URLs into our navigation. We use jquery to detect the name of the department in our navigation markup (ul and li) and modify the href on the relevant anchor tags.
This will work for us because our list of departments is very small (3) and very static (new, used, parts). So now we are able to show a link to a 'Used Equipment' page that goes to a page having a product list that shows only products in that category.