Panth Checkout Success Page
mage2kishan/module-checkout-success
Replaces the default Magento 2 order confirmation with a configurable thank-you page showing order details, ordered items with thumbnails, addresses, totals, payment/shipping methods, a guest account-creation prompt, a CMS block slot, and custom conversion tracking scripts (GA4, Facebook Pixel, Google Ads) with order-variable placeholders.
Build Tests
Code Quality
Tested on Magento 2.4.9
Recent Test History
Each release is tested against the latest Magento version at that time.
Top Contributors
View LeaderboardLooking for Contributors
Composer installation fails. Your contribution could help the entire Magento community!
Share This Module's Status
README
Loaded from GitHubMagento 2 Checkout Success Page Extension: Custom Thank You Page with Tracking Scripts (Hyva + Luma)
Replace Magento 2's bare order confirmation with a proper thank you page. Panth Checkout Success shows order details, ordered items with thumbnails, shipping and billing addresses, order totals, payment and shipping method, a guest account creation prompt, and a CMS block slot. It also fires your GA4, Facebook Pixel, or any other tracking script with real order values replaced automatically.
Product page: kishansavaliya.com/magento-2-checkout-success.html
Quick Answer
What is Panth Checkout Success? It is a Magento 2 extension that replaces the default, minimal order confirmation page with a configurable thank you page that shows full order details and fires conversion tracking scripts.
What does it add to my store?
- A modern success page layout (two-column or single-column) with order number, date, payment method, and shipping method.
- Ordered items with thumbnails, SKU, quantity, and row totals.
- Shipping and billing addresses, with billing shown only when it differs from shipping.
- Order totals summary including subtotal, shipping, tax, discount, and grand total.
- Guest account creation prompt so guests can register right after placing an order.
- CMS block slot to show trust signals, upsells, or any custom content below the order summary.
- Custom tracking scripts with order variable placeholders for GA4, Facebook Pixel, Google Ads, and others.
Which themes are supported? Both Hyva and Luma. The module loads the right templates based on your active theme.
What does it need? Magento 2.4.4 to 2.4.8, PHP 8.1 to 8.4, and the free mage2kishan/module-core package.
Need Custom Magento 2 Development?
Get a free quote for your project in 24 hours for custom modules, Hyva themes, performance work, M1 to M2 migrations, and Adobe Commerce Cloud.
Kishan Savaliya
Top Rated Plus on Upwork
100% Job Success - 10+ Years Magento Experience Adobe Certified - Hyva Specialist
Panth Infotech Agency
Magento Development Team
Custom Modules - Theme Design - Migrations Performance - SEO - Adobe Commerce Cloud
Visit our website: kishansavaliya.com | Get a quote: kishansavaliya.com/get-quote
Table of Contents
- Who Is It For
- Key Features
- Compatibility
- Installation
- Configuration
- How It Works
- Custom Tracking Scripts
- FAQ
- Support
- About Panth Infotech
- Quick Links
Who Is It For
- Merchants who want a real thank you page instead of Magento's one-line order confirmation. Show customers everything they need to know right after checkout.
- Stores running GA4, Facebook Pixel, or Google Ads that need accurate purchase events fired with real order data, without a developer.
- Hyva storefronts that want a success page that fits the theme's clean, fast design.
- Stores with guest checkout that want to nudge guests into creating an account right after their first order.
- Merchants who use trust signals or upsells and want a place to show them at the highest-intent moment of the customer journey.
Key Features
Modern Success Page Layout
- Two layout modes selectable from admin: Two Column (order details on the left, summary sidebar on the right) or Single Column (everything centered).
- Configurable thank you title and message per store view, so you can personalise the heading to match your brand.
- Session expiry fallback shows a friendly message when a customer revisits the URL after their session has expired.
Order Details
- Order details card with order number, order date, payment method, and shipping method in a clean grid.
- Ordered items list with product thumbnails (96x96), names, SKUs, quantities, and row totals.
- Shipping and billing addresses rendered via Magento's address renderer. Billing is shown only when it differs from shipping.
- Order totals summary including subtotal, shipping, tax, discount, and grand total.
- Invoice PDF download link shown to logged-in customers when invoices are available.
- Continue Shopping button that links back to the store home page, with visibility controlled from admin.
Guest Account Creation
- Guest account creation prompt displayed to guest customers right on the success page so they can register without going back to the login page.
- Logged-in customers see order history and invoice links instead.
CMS Block Slot
- Select any CMS block to render below the order details, useful for trust badges, social share prompts, review requests, or upsell content.
- A sample "Checkout Success -- Trust Signals" block is installed automatically during setup:upgrade with Free Returns, Fast Shipping, 24/7 Support, and Secure Payments cards.
Conversion Tracking
- Custom tracking scripts field where you paste raw HTML or JavaScript with order variable placeholders.
- 12 order variable placeholders replaced automatically with real order values at render time.
- Works with GA4, Facebook Pixel, Google Ads, TikTok, and any other conversion tracker.
- All placeholder values are JS-escaped for safety.
Quality and Compatibility
- Clean MEQP-style code with constructor dependency injection throughout. No ObjectManager.
- No core file modifications -- clean layout overrides and plugins only.
- Compatible with Magento Open Source, Adobe Commerce, and Adobe Commerce Cloud.
- Every label uses Magento's
__()function so the page is fully translatable.
Compatibility
| Requirement | Versions Supported |
|---|---|
| Magento Open Source | 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8 |
| Adobe Commerce | 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8 |
| Adobe Commerce Cloud | 2.4.4 to 2.4.8 |
| PHP | 8.1.x, 8.2.x, 8.3.x, 8.4.x |
| Hyva Theme | 1.0+ (supported) |
| Luma Theme | Native support |
| Required Dependency | mage2kishan/module-core ^1.0 (free) |
Installation
Composer Installation (Recommended)
composer require mage2kishan/module-checkout-success
bin/magento module:enable Panth_Core Panth_CheckoutSuccess
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush
Manual Installation via ZIP
- Download the latest release from Packagist or from the product page.
- Extract to
app/code/Panth/CheckoutSuccess/in your Magento install. - Make sure
Panth_Coreis also installed (required dependency). - Run the commands above starting from
bin/magento module:enable.
Verify Installation
bin/magento module:status Panth_CheckoutSuccess
# Expected: Module is enabled
After install, place a test order to confirm the new success page appears. Then open:
Admin → Stores → Configuration → Panth Extensions → Checkout Success Page
Configuration
Go to Stores → Configuration → Panth Extensions → Checkout Success Page.
| Setting | Group | Default | Description |
|---|---|---|---|
| Enable Custom Success Page | General | Yes | Master toggle. Disable to fall back to the default Magento success page. |
| Show Order Number | Content Sections | Yes | Show order number in the details card. |
| Show Order Date | Content Sections | Yes | Show the order date in the details card. |
| Show Ordered Items | Content Sections | Yes | Show the items list with thumbnails, SKUs, quantities, and row totals. |
| Show Order Totals | Content Sections | Yes | Show the totals summary (subtotal, shipping, tax, discount, grand total). |
| Show Shipping Address | Content Sections | Yes | Show the shipping address. Billing is shown only when different. |
| Show Payment Method | Content Sections | Yes | Show the payment method name. |
| Show Create Account | Content Sections | Yes | Show the guest account creation prompt for guest customers. |
| Show Continue Shopping Button | Content Sections | Yes | Show a Continue Shopping link back to the home page. |
| Additional CMS Block | Content Sections | (none) | Pick any CMS block to render below the order details. |
| Page Layout | Appearance | Two Column | Two Column (details + summary sidebar) or Single Column (centered). |
| Thank You Title | Appearance | Thank you for your order! | Main heading text, configurable per store view. |
| Thank You Message | Appearance | (default text) | Subheading message text, configurable per store view. |
| Custom Scripts | Tracking & Scripts | (empty) | HTML/JS injected into the success page with order variable placeholders replaced. |
How It Works
- After checkout, Magento routes the customer to the
checkout/onepage/successpage. - The module's layout override replaces the default success block with the
Panth\CheckoutSuccess\Block\Successblock. - The block reads the last order from the checkout session and applies the visibility settings from admin config.
- The template renders the chosen layout (two-column or single-column) with the sections you have enabled.
- If a CMS block is selected in config, it is fetched and rendered below the order details.
- Custom tracking scripts are processed last: each
{{placeholder}}is replaced with the real order value, then the HTML is injected into the page. - If the session has expired (customer revisited the URL), a friendly fallback message is shown instead of a blank page.
Custom Tracking Scripts
Paste your raw HTML or JavaScript into the Custom Scripts field under Tracking & Scripts. The module replaces every placeholder with the real order value before injecting the script.
Example -- Google Analytics 4 purchase event:
<script>
gtag('event', 'purchase', {
transaction_id: '{{orderId}}',
value: {{orderTotal}},
currency: '{{orderCurrency}}',
shipping: {{shippingAmount}},
tax: {{taxAmount}},
coupon: '{{couponCode}}'
});
</script>
Example -- Facebook Pixel Purchase event:
<script>
fbq('track', 'Purchase', {
value: {{orderTotal}},
currency: '{{orderCurrency}}',
content_ids: ['{{orderId}}'],
num_items: {{orderItemCount}}
});
</script>
Available placeholders:
| Placeholder | Value |
|---|---|
{{orderId}} |
Order increment ID |
{{orderTotal}} |
Grand total |
{{orderSubtotal}} |
Subtotal |
{{orderCurrency}} |
Currency code (USD, EUR, etc.) |
{{customerEmail}} |
Customer email address |
{{paymentTitle}} |
Payment method title |
{{shippingTitle}} |
Shipping method title |
{{couponCode}} |
Coupon code used (empty if none) |
{{orderItemCount}} |
Number of visible line items |
{{shippingAmount}} |
Shipping amount |
{{taxAmount}} |
Tax amount |
{{discountAmount}} |
Discount amount |
All values are JS-escaped for safe use inside JavaScript strings.
FAQ
Does this extension work with Hyva themes?
Yes. The module detects the active theme via Panth_Core and loads the correct templates for Hyva or Luma automatically.
Will it affect my existing Google Analytics or Facebook Pixel setup?
No. The Custom Scripts field is additive -- it injects your snippet alongside whatever your theme or other extensions already load. If you have an existing GA4 tag elsewhere, disable the duplicate to avoid counting purchases twice.
Can I use both layout modes on the same site?
Yes. Layout is a store-view scoped setting, so you can use Two Column on one store view and Single Column on another.
Does it work with guest checkout?
Yes. Guest customers see a "Create an account" prompt on the success page. Logged-in customers see their order history link and the invoice PDF download instead.
Can I use it with virtual or downloadable products?
Yes. Shipping address and shipping method are hidden automatically for orders that have no physical shipping.
Does it slow down the success page?
No. The module only runs on checkout/onepage/success. It uses standard Magento block rendering and reads order data that Magento already has in the checkout session.
Can I style the success page further?
Yes. All templates are in view/frontend/templates/ and use standard Magento 2 layout XML. Override them in your theme the same way you override any other Magento block.
Is the source code included?
Yes. You receive the full PHP, layout XML, templates, and CSS on installation. The license is proprietary, one license per production domain.
Do I need Panth Core?
Yes. mage2kishan/module-core is a free required dependency. Composer installs it for you automatically.
Support
| Channel | Contact |
|---|---|
| Product Page | kishansavaliya.com/magento-2-checkout-success.html |
| kishansavaliyakb@gmail.com | |
| Website | kishansavaliya.com |
| +91 84012 70422 | |
| GitHub Issues | github.com/mage2sk/module-checkout-success/issues |
| Upwork (Top Rated Plus) | Hire Kishan Savaliya |
| Upwork Agency | Panth Infotech |
Response time: 1-2 business days.
Need Custom Magento Development?
Looking for custom Magento module development, Hyva theme work, store migrations, or performance tuning? Get a free quote in 24 hours:
About Panth Infotech
Built and maintained by Kishan Savaliya (kishansavaliya.com), a Top Rated Plus Magento developer on Upwork with 10+ years of eCommerce experience.
Panth Infotech is a Magento 2 development agency that builds high quality, security focused extensions and themes for both Hyva and Luma storefronts. The extension suite covers SEO, performance, checkout, product presentation, customer engagement, and store management, with each module built to MEQP standards and tested across Magento 2.4.4 to 2.4.8.
Browse the full extension catalog on our Magento extensions page or on Packagist.
Quick Links
| Resource | Link |
|---|---|
| Product Page | magento-2-checkout-success.html |
| Packagist | mage2kishan/module-checkout-success |
| GitHub | mage2sk/module-checkout-success |
| Website | kishansavaliya.com |
| Free Quote | kishansavaliya.com/get-quote |
| Upwork (Top Rated Plus) | Hire Kishan Savaliya |
| Upwork Agency | Panth Infotech |
| kishansavaliyakb@gmail.com | |
| +91 84012 70422 |
SEO Keywords: magento 2 checkout success page, magento 2 thank you page extension, magento 2 order confirmation page, magento 2 custom success page, magento 2 success page extension, magento 2 order summary page, magento 2 ga4 purchase tracking, magento 2 google analytics 4 ecommerce, magento 2 facebook pixel purchase event, magento 2 google ads conversion tracking, magento 2 conversion tracking success page, magento 2 order variable placeholders, magento 2 tracking scripts checkout, magento 2 cms block success page, magento 2 guest account creation checkout, magento 2 two column success page, magento 2 single column thank you page, magento 2 hyva success page, magento 2 luma success page, magento 2 trust signals checkout, magento 2 invoice pdf download, magento 2 continue shopping button, magento 2 checkout customization, magento 2 post purchase experience, hyva checkout success, panth checkout success, panth infotech, mage2kishan, hire magento developer, top rated plus upwork magento, kishan savaliya magento, magento 2.4.8 checkout module, php 8.4 magento extension, custom magento development, adobe commerce checkout extension, magento 2 meqp compliant module
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.