You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Widget Use

Renders the 'Sort By' selector for the product list.


Example of Widget Use

Following is an example of the widget in use:


Where can the Widget be placed?

The widget can be used in the following templates:

  • Product List Template


Widget Options

OptionUseCommentsAvailable from Version
DescriptionA short description of the widget's use.This description is added to the widget title. It makes the widget's use clear on the template page.All
Layer

The layer the widget is valid for.

Use layering to limit widget content to certain groups of users. 

To use the same widget for more than one user group but with different options set, add the widget as many times as needed in the same zone. Then add layering to define the user group each time. 

All
Sort By PromptLabel for the drop-down selector.Default: SortAll
Please Select TextText displayed in the dropdown when the user has not yet selected a sort option.

Default: Please Select...

NOTE - If Lucene is enabled, the default sort value will be Popularity.

All
RelevanceText to tell what the dropdown is for.Default: Relevance
Sort Options

Options in the dropdown used by the user to sort records.

Format must be: [{text: 'TEXT DISPLAYED', value: 'SORT VALUE'},{text: 'TEXT DISPLAYED', value: 'SORT VALUE'}]

Default: [{text: 'Price (Low to High)', value: 'IntegratedPrice'},{text: 'Price (High to Low)', value: 'IntegratedPrice DESC'},{text: 'Product Code A-Z', value: 'ProductCode'},{text: 'Product Code Z-A', value: 'ProductCode DESC'},{text: 'Description A-Z', value: 'Description'},{text: 'Description Z-A', value: 'Description DESC'}]All



Related help

  • No labels