I wanted to change the title of the onepage success page.By default text is "Magento Commerce". how can i change this and set my custom title.

Please help me.

Thanks in Advance


Add this code in checkout.xml

under checkout_onepage_success tag

<reference name="head">
    <action method="setData" translate="title"><key>title</key><value>your title </value></action>
| improve this answer | |

you can do it via layout files:

<reference name="head">
    <action method="setTitle" translate="title"><title>Your Title</title></action>

or via code by accessing head block element and calling setTitle('your title') method on it

$this->getLayout()->getBlock('head')->setTitle('your title'); 
| 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.