Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Alternatively, check the query on the search page. If the request contains a number (is_numeric($_GET['q'] === true), then display the catalog.section component with a filter by this product id. If the request contains no number, then let the page work as before.
If you search using the search module, then you need to find an event (it exists, too lazy to look) that is called when an index is created on an element and add an ID to it. Then it will be possible to find it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question