I wish to add one div section on the checkout page(payment section) to add a custom message. How do I add it in below KO template Magento/SalesRule/view/frontend/web/template/payment/discount.html. Please provide me a solution.

enter image description here

I need to show message in after apply discount button I have added a div in Magento/SalesRule/view/frontend/web/template/payment/discount.html. But It is falied to show the div section in checkout page(payment section)

| improve this question | | | | |
  • Explain what you have tried and what errors you are facing. – Dinesh Yadav Apr 6 '18 at 7:41
  • I wish to add a custom message in new div section in checkout page – Jaisa Apr 6 '18 at 8:32
  • I have updated the post – Jaisa Apr 6 '18 at 8:37
  • Have you run php bin/magento setup:static-content:deploy -f after making changes in the HTML file? – Dinesh Yadav Apr 6 '18 at 8:59
  • yes, but no change occurs – Jaisa Apr 6 '18 at 9:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.