I put some code in below file.

File path: vendor/magento/module-offline-payments/view/frontend/web/template/payment/cashondelivery.html

It is working fine in this file. The same code put here,

File path: app/design/frontend/Magento/xxxx/Magento_OfflinePayments/view/frontend/web/template/payment/cashondelivery.html

But not working. Please help me.


Make sure you have defined Magento/xxxx theme in your configuration, also when overriding a template in your theme, the path should be: Magento_OfflinePayments/web/template/payment/cashondelivery.html

|improve this answer|||||
  • Thank you it is working fine. change path to Magento_OfflinePayments/web/template/payment/cashondelivery.html – Bruntha Nivas Jun 3 '19 at 12:45

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.