I
I
Ilia Malashko2021-01-31 13:32:10
1C-Bitrix
Ilia Malashko, 2021-01-31 13:32:10

How to sort products by popularity?

Hello.

The site has a variety of sorting products.
You need to add sorting by popularity.

What parameter should be added to ELEMENT_SORT_FIELD to sort by popularity?
If there is no such parameter, then how to pull out the number of sold goods in order to save this value in the property of the goods and sort by it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2021-01-31
@miv-men

https://dev.1c-bitrix.ru/community/webdev/user/330...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question