G
G
Good Samaritan2021-12-14 11:39:39
1C-Bitrix
Good Samaritan, 2021-12-14 11:39:39

How to implement string pattern search in catalog.search?

Good afternoon. I have a task to do a search by article, like: DFJW*JZBN , where * means any number of characters - numbers and letters. Please tell me or point me in the direction.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2021-12-14
@kikher

Filter by the article property, write your mask in the article.
Look here .

V
Victor, 2015-07-05
@SergZay

Are you sure that page_id digests the array? Probably not.
Try post__in instead.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question