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.

5
  • 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 Commented Oct 16, 2019 at 13:52
  • My question is, Override this model class and clone the onepage success controller is enough? Commented Oct 17, 2019 at 4:13
  • yes its enough, if you like it then up-vote my comment Commented Oct 17, 2019 at 5:59
  • Post answer with details, I will accept. Commented Oct 17, 2019 at 6:09
  • can you please help me to solve this issue magento.stackexchange.com/questions/296092/…. i will share my package on github Commented Nov 26, 2019 at 13:32

0

Your Answer

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

Browse other questions tagged or ask your own question.