Answer the question
In order to leave comments, you need to log in
How to implement unique sorting for all sections?
Hello.
There are many sections on the women's clothing website. Each section has its own unique sorting.
At the moment, it is implemented in such a way that each section has its own custom field in the catalog, that is, in the properties of the goods there are "Sorting for dresses", "Sort for trousers", "Sort for office models", "Sort for sale", etc. d.
Thus, it turns out that we use an average of 3-5 sorting properties for a product, and the rest are not used.
Example:
Name Sort
Dress #1 - 1
Dress #2 - 2
Dress #3 - 3
Blouse #1 - 1
Blouse #2 - 2
Blouse #3 - 3
No problem for the Blouse and Dress sections,
For example, in "Office Models" you need a trace. sorting Dress No. 2, Dress No. 3, Blouse No. 1, Dress No. 1, Blouse No. 2, Blouse No. 3 and it turns out that the built-in sorting field is no longer enough.
How can sorting be implemented to get rid of this huge list of properties?
I would like to solve this problem at the component call level, and not in result_modifier.php
Answer the question
In order to leave comments, you need to log in
@smilingcheater
it turns out when viewing any section, the product can have any position in the list (from your example, Dress 1 was in position 1 in the Dresses section, was in 1st place before Dress 2, and became in position 4 in the Office models section, and changed order with the Dress 2).
the goal is to increase the number of properties to speed up the site.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question