Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The product display page can be called with a parameter to allow sorting of products by any field on the product table.

Set up details

The parameter to call the page with is "SortProduct=XXXX" where XXXX is the fieldname. For example, SortProduct=ProductCode would sort by the field ProductCode. SortProduct=Description would sort by Description.

To implement this in the product display template, set up a drop down that has each of the options you want to sort by in it and select the productdisplay.aspx page with a parameter or SortProduct=XXXX.


Content by Label
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "widget" and type = "page" and space = "KB" and title ~ "'product list'"
labelssort product