Skip to content
Discussion options

You must be logged in to vote

You can follow the example on the ProductDisplayAjaxList.cshtml file for the preprocessor token.
@AddPreProcessMetaData("orderby5", "NB1.ModifiedDate", Model.FullTemplateName, Model.ModuleId.ToString()) @AddPreProcessMetaData("orderby6", "NB1.ModifiedDate DESC", Model.FullTemplateName, Model.ModuleId.ToString())

Then it requires a change in the ProductView.orderbytext resx string value which is used to generate the drop down options.
Default sort,Sort by price (low to high),Sort by price (high to low),Sort by reference,Sort by name, Sort by date(ascending), Sort by date(descending)

That should be all you need to do.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Rodien
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants