Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Changing Search Results Page
 
nicholas.alipaz
Jr. Member
 
Total Posts:  13
Joined:  2008-07-08
Los Angeles, CA
 

What exactly would I need to edit in order to make the Search Results page forward to the product if there were only one result in the search?

if (searchResults 2{
  open product page
else {
  
do the normal operation
}

Thanks in advance.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top