Answer the question
In order to leave comments, you need to log in
Is it possible to somehow set up a search in Bitrix so that it searches for products by article number, even without taking into account the space?
is it possible to somehow set up a search in Bitrix so that it searches for products by article number, even without taking into account the space? at the moment it is looking for 1011624 + 1026259, and 1011624 1026259, is it possible to make it look for such a combination of these numbers 10116241026259, that is, so that even spaces are not taken into account? Or do I need to somehow add or connect another search? set up a search on sphpnx but also searches, taking into account gaps
Answer the question
In order to leave comments, you need to log in
A lot of trouble, the sphinx did not work correctly. Alternatively, one could take this Article property and remove all characters from it and write the result to another property. hide its display on the element page. in the property settings put "the property is involved in the search". I think it would play the right role.
See:
www.u-mulder.com/2017/04/blog-post.html
https://dev.1c-bitrix.ru/api_help/search/classes/c...
https://dev.1c- bitrix.ru/api_help/search/events/on...
https://dev.1c-bitrix.ru/api_help/search/events/be...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question