I searched, doesn't find a answer.
I know use layout XML to set title like below
<reference name="head">
<action method="setTitle"><title>New Title</title></action>
</reference>
But this is set title static, I need customize the title dynamically, like "shopping with (Search Phrase)", the "Search Phrase" is dynamically generate by user input. Magento has a default dynamically search page title form, I want to know the way to change its default form.
Thanks for any help!
Best Answer
Dynamic title provided by Block/Result.php in catalogsearch module. So you have to override the Block/Result.php into your local folder. There you can change the title as per your requirement.
Your local file path should be like this.