How do we get the order in code.
Litium version: 7
You can take a look at this topic:
Hi Volks
The Default sort arrange function, implemented on the accelerator since some versions ago have several options. Most of them natural to understand (price order, alfabetic order…)
But. As I understand the “popular” is based on the registered purchase on the site (eg. submitted order). Is that true?
Recommended - I have no ide and do not see a pattern and don’t find in kc any leads to the answer. Happy to get the logic behind this!?
Is there a way, from Litium studio (back…
You will need to save the sort order in the category in BO.
You can use this when presenting in a category and not in search results.
NilsN
October 21, 2020, 2:28pm
3
There’s a .ProductSortOrder
property on the category object - a collection of Guids - if you need to access the order programmatically. If the products haven’t been sorted, it will be empty.
system
Closed
November 18, 2020, 2:28pm
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.