Answer the question
In order to leave comments, you need to log in
How to display elements in a specific order?
The crux of the matter is this. There is a catalog.section, you need to raise the goods in it of a certain line / brand to the top of the list.
In mysql this can be done with ORDER BY FIELD()
How can this be done via a component?
Options for customizing the component are also being considered ((
Answer the question
In order to leave comments, you need to log in
You can write a handler for adding-editing an element, and there you can write your own processing and change the SORT field of the element according to the desired principle. (or not the SORT field at all, but a separate property / properties, and enable sorting by this property)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question