Magento Checkout Success page testing

You may find yourself wanting to edit your checkout success page, putting an order through every time you want to test your changes can get a bit repetitive. To save doing this every time the best thing to do is stop Magento clearing the session.

To do so go to:

/app/code/core/Mage/Checkout/controllers/OnepageController.php

Find:

$session->clear();

Replace it with

//$session->clear();.

This will comment out the code and allow you to refresh the success page as many times as required. To put make the changes once you are finished just remove the //

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/wwwwebam/public_html/blog/wp-includes/functions.php on line 4339