P
P
photosho2017-10-06 10:58:28
1C-Bitrix
photosho, 2017-10-06 10:58:28

How to sort trade offers?

In the "catalog" component, trade offers are sorted by the "Weight" property (type: list). The problem is that the values ​​of this property seem to be treated as strings rather than numbers and are sorted alphabetically, thus resulting in:

1000
450
5000

instead of:
450
1000
5000

How can I fix the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Burlaka, 2017-10-06
@AlexeyGfi

As an option, customize the template and re-sort inside it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question