Answer the question
In order to leave comments, you need to log in
Is it possible to sort goods by geo-coordinates in Bitrix?
It is necessary to implement the definition of the user's geo-coordinates and then sort the goods in the catalog so that the first place is taken by the goods located in the city from which the visitor came. Is this possible in Bitrix? As far as I know, such functionality is not provided out of the box, but perhaps there are some modules? Or, tell me how you could do it "on your own".
Answer the question
In order to leave comments, you need to log in
Is this possible in Bitrix?
Through get-lists practically in any way. Only with a self-written query, like this:
order by
if (location = {$id}, 0, 1) asc
(Sql needs to be known, etc., etc.)
---
Also, as a crutch option, make as many properties as locations on the site, and set 0 or 1 for everyone, like yes or no
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question