In Magento 1


In Magento 2

What is the equivalent file for the above one in magento 2 and how to override it. Please provide me a solution


Just your informed Magento2.x using knockout js MVC structure.

In Magento 2

Checkout page payment methods list display in list.html and this file available at location /xxx/vendor/magento/module-checkout/view/frontend/web/template/payment-methods/list.html

If need to override this file in your theme then copy core file at location


After run below commands:

php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush
  • I wish to add new payment methods and wish to customize its look in checkout page – Jaisa Apr 21 '18 at 11:27
  • Yes if your add new payment methods It is is display on checkout page – Abdul Apr 21 '18 at 11:28
  • But it is KO template, I did't know how to override it, Can you suggest – Jaisa Apr 21 '18 at 11:30
  • Have you created custom payment method? There are two files for eg \app\code\AR\Newpayment\view\frontend\templates\form\Newpayment.phtml \app\code\AR\Newpayment\view\frontend\web\template\payment\newpayment.html – Abdul Apr 21 '18 at 11:32
  • I have created system configuration for my payment method in backend – Jaisa Apr 21 '18 at 11:37

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.