1

I want to add the coupon code to the payment page.

That works perfect, but when a coupon code is applied, it redirects back to the cart.

Is there a way to add the coupon code, without redirect to the cart? So maybe a way to use Ajax in the coupon.phtml template or change the redirect to the payment method?

  • add code that you tried – Sohel Rana Feb 27 at 14:34
  • @SohelRana I haven't tried anything, because I am not sure how to rewrite the code. I know the redirect to cart location inside the CartController.php. But the reason I ask the question, is that I need some help to keep the customer in the checkout, also without losing the filled checkout fields. – Henk Z Feb 27 at 14:57

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.