My question is actually based on the excellent post response by Marius♦: Catalog Search: If only one result, show product view page insted of list view 1

The question is - would this affect any search method, even if it is a third party module?

Is there a way of placing the redirect within the code for said module's search function?


I would say it depends on the custom module, but if the module responds to the url catalogsearch/result/index yes it will be affected.
If the url is different then you will have to add a new observer in your config.xml class similar to the other 2 mentioned in the existing answer.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.