4

Magento2 - in checkout page, I have one check-box just before the payment method on the checkout payment step. I need to update cart total on check-box check/unchecked.

Currently system is working like once I clicked on check-box, my custom action is call and get an Ajax response with some amount. How can update this amount to cart total after complete this action?

You can share your code/reference here. Any help would be greatly appreciated.

7
  • Do you want to reload the order summary total on checkout page? Nov 11, 2017 at 8:50
  • I want yo display used wallet amount to sidebar, but not deduct to order total. because of wallet amount isn't work as discount. Also I want to pass amount to payment method which is minus from grand total. Can you please help me on this? Nov 11, 2017 at 9:00
  • Currently, Does your module calculate the amount correct or not? Or not implement yet? Nov 11, 2017 at 9:04
  • Not any amount display right now but how to show calculated amount on sidebar? Nov 11, 2017 at 9:07
  • You can see my module here: github.com/mrkhoa99/Boolfly_payment_fee Nov 11, 2017 at 9:08

0

Your Answer

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

Browse other questions tagged or ask your own question.