Checkout Success Page: Thank You Page with custom CMS block + order details (Magento 2)

Rating:
84% of 100
€85.55 €69.55
COMPOSER Installation
M2-SUCCESS-PAGE
PayPal PayPal
Przelew Przelew

Magento Modules: Clear Guidelines

You purchase the module once, with no domain restrictions

Tooltip

Free installation and updates via Composer

Tooltip

Affiliate Program

Tooltip

Technical support for Magento

Tooltip

Clear guidelines for licensing Magento modules

Tooltip

Magento Module Code Security

Tooltip

What is this module for?

The default Thank You Page in Magento often ends the customer journey with a short message and an order number. This module turns the success page into a useful post-purchase communication point, without heavy page builders and without rebuilding the checkout.

What does the Kowal_CheckoutThankYouPage module do?

The Kowal_CheckoutThankYouPage module expands the default Thank You Page in Magento 2 and turns it into a clear order summary screen with the option to add your own marketing and informational content. It works based on the success page layout and standard Magento blocks, which makes it lightweight, compatible, and safe to maintain.

  1. Organizes and moves standard Magento elements into a new layout
    The module moves key Magento elements displayed after purchase into one place. As a result, the customer sees a consistent, organized view without scattered elements:
    • success messages (checkout.success) and post-purchase registration (checkout.registration) into a dedicated page container,
    • standard messages, such as warnings, errors, and confirmations, into a clear section at the top of the page.
  2. Displays complete order details in one place
    The success page is expanded with an Order Details section, where the customer has all the most important information at hand. This reduces the number of support requests, such as where can I check my order?, and improves the customer experience right after purchase:
    • basic order information, such as number and date,
    • order information blocks based on native Magento components, such as MagentoSalesBlockOrderInfo,
    • a complete summary of the order contents.
  3. Shows the list of ordered products, items, and the full totals summary
    Result: the customer sees a clear order receipt without needing to open the account panel or email. The module renders:
    • the list of order items (MagentoSalesBlockOrderItems) together with renderers (sales_order_item_renderers, sales_order_item_price),
    • the full cost summary (MagentoSalesBlockOrderTotals) with label/value styling configuration,
    • taxes (MagentoTaxBlockSalesOrderTax),
    • and, if the store runs on Magento EE and the configuration is available, a gift cards section, conditionally via ifconfig='giftcard/email/identity'.
  4. Adds extra space for content from other modules, container
    The module provides a container, so you or other modules can safely inject additional content into the success page, such as shipping information, a CTA for the mobile app, B2B instructions, and more, without editing the core:
    • order.success.additional.info
  5. Displays a custom CMS block on the success page, configurable
    This is one of the module’s key features: the ability to select in the configuration a CMS block that will be rendered on the Thank You Page. The CMS block is rendered through the standard CMS filter, so typical Magento directives work inside it, such as widgets, variables, and more. In addition, the module has cache_lifetime set, for example 86400, so static content does not overload the page.
    In the CMS block, you can include, for example:
    • what’s next instructions, such as fulfillment, timelines, and contact,
    • information about returns and complaints,
    • a promotional banner / discount code for the next purchase,
    • links to the FAQ or help pages,
    • descriptive cross-sell content, such as choose accessories for your purchase.
  6. (Optional) Adds Google Customer Reviews, Survey Opt-in
    After the feature is enabled in the configuration, the module can display the Google Customer Reviews opt-in script on the success page, which is an invitation to leave a review after purchase.

    This lets you collect reviews in line with the Google mechanism, without manually adding data in the template.

    The integration automatically fills in the required data for gapi.surveyoptin.render(), including:
    • merchant_id,
    • order_id,
    • email,
    • delivery_country,
    • estimated_delivery_date,
    • the product list as products[].gtin, with GTIN/EAN taken from the product attribute.
  7. Supports a comment / additional information section, if you use it
    The page layout includes an additional block for a comment / custom content (custom.comment). This lets you add messages tailored to your sales process, such as a request to contact you for non-standard orders, personalization information, and more.
  8. Lightweight and safe for the order process
    The module does not interfere with order placement or payments — it changes only the presentation layer of the success page. As a result:
    • it is easy to deploy,
    • it is easy to disable, returning to the standard view,
    • the risk of checkout conflicts is minimal.

Key advantages, directly reflected in the code

  • Simple configuration: enable/disable + select one CMS block to display on the success page.

  • Works per store view (scope: default/website/store).

  • Efficient CMS rendering: the block content is filtered with the standard CMS filter, directives and variables, and cached, 24h by default, with a store-dependent key.

  • No conflicts with the larger module: if it detects an active Kowal_ThankYouPage, enabled in the configuration, then:

    • the option in the admin panel is frozen, disabled,

    • and the success page remains under the control of that larger module.

  • No tables or database changes: installation is lightweight, layout + blocks + configuration.

Configuration in Magento

Path: Stores → Configuration → Kowal Checkout → Order Success Page

  • Custom Order Success Page: enable/disable the custom success page, when disabled, the default Magento page returns

  • Success Page Custom Block: select the CMS block to display after the order details

Version: 1.0.13

02/12/2026

Added

  • Integration with **Google Customer Reviews (Survey Opt-in)** on the post-order thank you page, Success Page.
  • New template: `view/frontend/templates/onepage/google_opinie.phtml` loading `platform.js` and rendering `gapi.surveyoptin.render()`.
  • New block: `KowalCheckoutThankYouPageBlockOnepageSuccessGoogleOpinie` generating the payload for Google (merchant_id, order_id, email, delivery_country, estimated_delivery_date, products[].gtin).
  • Added the block to the success page layout, Success Page, with `cacheable='false'`, order-specific data.

Configuration

  • Expanded `system.xml` with the Google reviews configuration section:
    • Enable/disable the integration.
    • `merchant_id` (Merchant Center ID).
    • `estimated_delivery_days` (delivery date calculation).
    • `gtin_attribute` (GTIN/EAN attribute code in the product).
    • Delivery country source options, shipping/billing.
    • Product count limit in the payload.
  • Added default values in `etc/config.xml`.
  • Added ACL for configuration, permissions for the section in the admin panel.

Notes

  • The integration runs only on the success page after an order is placed and is based on the last order from the checkout session.
  • If required data is missing, such as merchant_id, the block does not render the opt-in script.
Implemented in real Magento 2 stores
Case Study – toursport.pl Implementation

At toursport.pl, after making a purchase, customers often looked for information on “what’s next” — where to check order details, how shipping/fulfillment works, and which products to choose as accessories. The default Magento success page was too limited and did not provide space for clear instructions.

Implemented Solution

We used the Kowal_CheckoutThankYouPage module to:

  • keep full order details on the success page (items, amounts, data),

  • add a dedicated CMS block prepared for toursport.pl at the bottom.

The CMS block included, among other things:

  • a brief “what’s next” guide (email, fulfillment time, contact),

  • a section with help links (returns, complaints, terms and conditions),

  • a banner encouraging further purchases (e.g., accessories/add-ons),

  • a sales message aligned with the brand.

Result

  • The customer immediately sees not only the order number, but also complete information and instructions.

  • The store team can edit the content without developer involvement — simply by replacing the CMS block.

  • The solution is lightweight and secure: it does not interfere with the order process, only with the success page view.

Questions and Answers

Question
What exactly can I display on the thank-you page?
Answer
The module shows standard order information + a full view of the items and summary, and additionally allows you to insert any CMS block (banner, instructions, CTA, marketing content).
Question
Can I set different content for different stores / language versions?
Answer
Yes. The settings are available in the Website/Store View scope, so you can specify a different CMS block for each store version.
Question
Can the module be quickly disabled and the standard Magento view restored?
Answer
Yes — in the configuration, simply disable “Custom Order Success Page,” and the module will show the default Magento success page.
Question
Is the module safe for performance?
Answer
Yes — the CMS block content is cached (86400s by default) and depends on the store view, so it does not unnecessarily burden the page.
Write Your Own Review
You're reviewing:Checkout Success Page: Thank You Page with custom CMS block + order details (Magento 2)
Your Rating
Aktualizacja preferencji plików cookie