We want to add this text "Click here to check the bank information" to the checkout success page and link it with URL a on the site.

How to do that?

We're running Magento 1.9

4 Answers 4

  • Check whether there is success.phtml file in app/design/frontend/yourthemepackage/yourcustomtheme/template/checkout path. If yes, start making changes to customize it.
  • If no, copy the success.phtml file from app/design/frontend/base/default/template/checkout folder and paste it into your theme to customize it.

Note: The problem is that when you modify any information on this page, you will want to preview what the results look like, you can't refresh the checkout success page, because a refresh of that page will clean the session and redirect you back to an empty shopping cart page. In other words, every time you make a change to the success-template, you would need to create a new order to preview the result. To allow success page to stay after refreshing the page, you can temporarily by editing:


file and comment $session->clear(); line.

After commenting out the line should look like:


Remember to roll back your changes after completing the customization in the page.


Copy success.phtml file from base/default/template/checkout/ directory and paste in your-package/your-theme-name/template/checkout/ directory structure of your theme. Here you can change text whatever you want to.

  1. Check first if you have this file in app/design/frontend/{current-package}/{your-theme}/template/checkout/success.phtml and add your text.

  2. If you dont find it in your current theme, copy it

from :


to :


If you dont find it in default, copy it from :





For Magento 2 the success.phtml is at:

<magento install dir>\vendor\magento\module-checkout\view\frontend\templates\success.phtml

To allow success page to stay after refreshing the page, you can temporarily edit: <magento install dir>\vendor\magento\module-checkout\Controller\Onepage\Success.php

comment out $session->clearQuote(); line as follows:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.