Quickly and easily preview and test your Magento2 checkout success page, without placing a new order each time
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Block/Adminhtml/System/Config/Form code refactoring Aug 12, 2018
Helper Update code format Nov 20, 2018
Model/Config/Backend Update copyright Mar 28, 2018
Plugin/Model/Session Update copyright Mar 28, 2018
etc Update copyright Mar 28, 2018
i18n Add i18n Mar 30, 2018
README.md Update README.md Aug 8, 2018
composer.json Fix typo Jun 24, 2018


Preview Order Confirmation Page for Magento 2

Total Downloads Latest Stable Version

Styling and testing Magento's order confirmation page can be a very difficult and time-consuming process since the order success page display is only displayed once after completing the lengthy checkout process. Changing your page content or testing a new CSS style will automatically redirect you to an empty shopping cart page on page refresh.

Our free magento2 extension allows you to quickly test Google Universal Analytics (gtag.js), Google Tag Manager, Enhanced Ecommerce or other miscellaneous HTML, scripts and code snippets. Easily preview and make changes to your success page without placing a new order or modifying Magento's core code, perfect for Magento frontend developers. After installing our extension you can navigate to the module preference in store configuration section and specify an order number and then preview the success page for that order, view HTML source and search for specific javascript snippet or share a link to preview on other devices. For security, the generated link is only valid for a short period of time which can be changed base on your needs.

To avoid tracking of duplicate order information on your live site, you may want to limit usage and testing of our extension to your development environment with Google Analytics and order tracking script disabled.

How to test or style the order success page


  • Configure any order number you want to preview from admin.
  • Quick and easily view checkout page source, inline with in admin or within a new browser window.
  • Zero core hacks.
  • Created for testing sites but work perfectly on live/production environment.
  • Save time when style checkout success page.

Production usage

This module was intended for development, testing, and staging environment. Please consider carefully before using in a production environment because it may affect your analytics/conversion data.


Step 1

Using Composer (recommended)
composer require magepal/magento2-preview-checkout-success-page
Manual Installation

To install Checkout Previewer for Magento2

  • Download the extension
  • Unzip the file
  • Create a folder {Magento root}/app/code/MagePal/PreviewCheckoutSuccessPage
  • Copy the content from the unzip folder
  • Flush cache

Step 2 - Enable Lazy Load for Magento2

  • php -f bin/magento module:enable --clear-static-content MagePal_PreviewCheckoutSuccessPage
  • php -f bin/magento setup:upgrade

Step 3 - Config Checkout Previewer for Magento2

Log into your Magento Admin, then goto Stores -> Configuration -> MagePal -> Checkout


Want to contribute to this extension? The quickest way is to open a pull request on GitHub.


If you encounter any problems or bugs, please open an issue on GitHub.

Need help setting up or want to customize this extension to meet your business needs? Please email support@magepal.com and if we like your idea we will add this feature for free or at a discounted rate.

Other Extensions

Custom SMTP | Google Tag Manager | Enhanced E-commerce | Google Universal Analytics | Reindex | Custom Shipping Method | Preview Order Confirmation | Guest to Customer | Admin Form Fields Manager | Customer Dashboard Links Manager | Lazy Loader | Order Confirmation Page Miscellaneous Scripts

© MagePal LLC. | www.magepal.com