To test changes to the Magento 2 order success page, open vendor/magento/module-checkout/Controller/Onepage/Success.php and comment out the line

. You can then reload the page as often as you like to test your changes. Remember to remove the comment once your work is complete!

Testing the success page
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.
Tags: