1

I'm using Magento 2.2.7 with 10+ third party extensions (Amasty checkout, multiinventory etc) and 20+ custom extensions.

How do I change the checkout/onepage/success URL to my custom controller, with same design and functionality without affecting native Magento functions and extension functions?

I can change the URL redirect from

vendor/magento/module-checkout/Model/DefaultConfigProvider.php

Does that cause any issues? Please provide some advice.

  • 1
    no any issue you can create your custom success page via this redirection, but you need to override this model class if i am not wrong – Pradip Garchar Oct 16 at 13:52
  • My question is, Override this model class and clone the onepage success controller is enough? – Ranganathan Oct 17 at 4:13
  • yes its enough, if you like it then up-vote my comment – Pradip Garchar Oct 17 at 5:59
  • Post answer with details, I will accept. – Ranganathan Oct 17 at 6:09
  • can you please help me to solve this issue magento.stackexchange.com/questions/296092/…. i will share my package on github – divya sekar Nov 26 at 13:32

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.