You are viewing an old revision of this post, from February 2, 2016 @ 14:23:02. See below for differences between this version and the current revision.

Magento – Set custom title of the success page

If you want to change the title of the onepage success page. By default the text is "Magento Commerce", you can change it by following this way.

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>
</reference>

 

Revisions

Revision Differences

February 2, 2016 @ 14:23:02Current Revision
Content
Unchanged: <p>Unchanged: <p>
Unchanged: If you want&nbsp;to change the title of the onepage success page. By default the text is &quot;Magento Commerce&quot;, you can change it by following this way.Unchanged: If you want&nbsp;to change the title of the onepage success page. By default the text is &quot;Magento Commerce&quot;, you can change it by following this way.
Unchanged: </p>Unchanged: </p>
Unchanged: <p>Unchanged: <p>
Unchanged: Add this code in&nbsp;<strong> checkout.xml&nbsp;</strong> under&nbsp;<code>checkout_ onepage_success< /code>&nbsp;tagUnchanged: Add this code in&nbsp;<strong> checkout.xml&nbsp;</strong> under&nbsp;<code>checkout_ onepage_success< /code>&nbsp;tag
Unchanged: </p>Unchanged: </p>
Unchanged: <pre>Unchanged: <pre>
Unchanged: <code>&lt;reference name=&quot;head&quot;&gt;Unchanged: <code>&lt;reference name=&quot;head&quot;&gt;
Unchanged: &lt;action method=&quot; setData&quot; translate=&quot; title&quot;&gt;&lt;key&gt; title&lt;/key&gt; &lt;value&gt;your title &lt;/value&gt; &lt;/action&gt;Unchanged: &lt;action method=&quot; setData&quot; translate=&quot; title&quot;&gt;&lt;key&gt; title&lt;/key&gt; &lt;value&gt;your title &lt;/value&gt; &lt;/action&gt;
Unchanged: &lt;/reference&gt; </code></pre>Unchanged: &lt;/reference&gt; </code></pre>
Deleted: <p> 
Deleted: &nbsp; 
Deleted: </p> 
Deleted: <pre> 
Deleted: &nbsp;</pre> 
Deleted: <p> 
Deleted: &nbsp; 
Deleted: </p> 
Unchanged: <p>Unchanged: <p>
Unchanged: &nbsp;Unchanged: &nbsp;
Unchanged: </p>Unchanged: </p>

Note: Spaces may be added to comparison text to allow better line wrapping.

No comments yet.

Leave a Reply