We use an external search system for the search on our website, but when we search the default magento "You've recently viewed" loads and then the search results show. How can we disable the "you've Recently viewed" block from our search page?

I have tried looking in the 2columns-right template which is located within the page folder which is in app -> design -> Theme -> Default -> template ->page and there is nothing there about the recently viewed products.

Is there a way which we can do this?


Nothing much effort needed.

Just change 2columns-right.phtml into 1column.phtml in layout.xml

This will remove entire right section & display the search result in one column.


if you want to remove only Recently viewed then


This section comes from above file.

| improve this answer | |
  • Will the second option remove Recently viewed only in search? – Ben Feb 11 '16 at 14:21
  • No other places like (ex. category page) also use the same file. So there also it will be removed. – Akhil Gupta Feb 11 '16 at 17:35
  • If you want to remove only for search page then just remove it from the search layout from XML. – Akhil Gupta Feb 11 '16 at 17:35

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.