1

I have made custom discount remove button on checkout order summary. coupon removed successfully but how to refresh payment div discount box code after removing coupon?

order summary: enter image description here

payment div:

agento

  • What is the js you have used for this implementation? – Sukumar Gorai Sep 12 at 10:14
  • app/design/frontend/Vensor/Theme/Magento_SalesRule/web/js/view/summary/discount.js – Rutvee Sojitra Sep 12 at 10:23
  • Using Cancel-coupon event – Rutvee Sojitra Sep 12 at 10:23
  • Why not you are just triggering the cancel button instead of cancel event? – Sukumar Gorai Sep 12 at 10:43
  • Yes i have implement now that way but just i want to understand the knockout more – Rutvee Sojitra Sep 12 at 11:13

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.