Checkout Success Page: Thank You Page with a custom CMS block + order details (Magento 2)
YOU CAN TRUST US
25 years of experience in e-commerce and Magento 2
Fast delivery
Efficient implementation process
Simple and transparent complaint process
Working with clients worldwide
Free module updates
Payment by bank transfer
Why this module?
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 touchpoint, without heavy builders and without rebuilding the checkout.
What does the Kowal_CheckoutThankYouPage module do?
After an order is placed, it displays on the success page:
Standard Magento messages (order number + link to view the order if the customer has permissions) and information about the confirmation email.
Order details section (order date + standard Magento blocks with order information).
Order items view + totals — including taxes, and in Magento EE also gift card support (block added conditionally after configuration).
Additional container order.success.additional.info — other modules can inject their own content there.
Selected CMS block at the bottom of the success page (configured in the admin) — ideal for:
what to do next instructions
a repeat purchase CTA
a promotional banner
delivery/returns information
contact/FAQ links
Continue Shopping button.
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 processed by the standard CMS filter (directives, variables) and cached (24h by default) with a store‑scoped cache key.
No conflict with the larger module: if it detects an active Kowal_ThankYouPage (and enabled in configuration), then:
the option in the admin is frozen (disabled),
and the success page remains controlled by that larger module.
No tables or database changes: the 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, Magento's default page is used)
Success Page Custom Block: select a CMS block to display after the order details
Question:
Co dokładnie mogę wyświetlić na stronie podziękowania?
Answer:
Moduł pokazuje standardowe informacje o zamówieniu + pełny widok pozycji i podsumowanie, a dodatkowo pozwala wstawić dowolny blok CMS (baner, instrukcje, CTA, treści marketingowe).
Question:
Czy mogę ustawić inną treść dla różnych sklepów / wersji językowych?
Answer:
Tak. Ustawienia są dostępne w scope Website/Store View, więc możesz wskazać inny blok CMS dla każdej wersji sklepu.
Question:
Czy da się szybko wyłączyć moduł i wrócić do standardowego widoku Magento?
Answer:
Tak — w konfiguracji wystarczy wyłączyć “Custom Order Success Page”, a moduł pokaże domyślną stronę sukcesu Magento.
Question:
Czy moduł jest bezpieczny dla wydajności?
Answer:
Tak — treść bloku CMS jest cache’owana (domyślnie 86400s) i zależy od store view, więc nie obciąża niepotrzebnie strony.
Wersja: 1.0.13
12.02.2026
Dodano
- ntegracja **Google Customer Reviews (Survey Opt-in)** na stronie podziękowania po zamówieniu (Success Page).
- Nowy szablon: `view/frontend/templates/onepage/google_opinie.phtml` ładujący `platform.js` oraz renderujący `gapi.surveyoptin.render()`.
- Nowy blok: `Kowal\CheckoutThankYouPage\Block\Onepage\Success\GoogleOpinie` generujący payload dla Google (merchant_id, order_id, email, delivery_country, estimated_delivery_date, products[].gtin).
- Dodanie bloku do layoutu strony sukcesu (Success Page), z `cacheable="false"` (dane per zamówienie).
Konfiguracja
- Rozbudowa `system.xml` o sekcję konfiguracji Google opinii:
- Włącz/wyłącz integrację.
- `merchant_id` (Merchant Center ID).
- `estimated_delivery_days` (wyliczanie daty dostawy).
- `gtin_attribute` (kod atrybutu GTIN/EAN w produkcie).
- Opcje źródła kraju dostawy (shipping/billing).
- Limit liczby produktów w payload.
- Dodano domyślne wartości w `etc/config.xml`.
- Dodano ACL dla konfiguracji (uprawnienia do sekcji w panelu).
Notatki
- Integracja uruchamia się wyłącznie na stronie sukcesu po złożeniu zamówienia i bazuje na ostatnim zamówieniu z sesji checkout.
- W przypadku braku wymaganych danych (np. merchant_id) blok nie renderuje skryptu opt-in.
W toursport.pl klienci po zakupie często szukali informacji “co dalej” — gdzie sprawdzić szczegóły zamówienia, jak wygląda wysyłka/realizacja, oraz jakie produkty dobrać jako akcesoria. Domyślna strona sukcesu Magento była zbyt uboga i nie dawała miejsca na czytelną instrukcję.
Wdrożone rozwiązanie
Zastosowaliśmy moduł Kowal_CheckoutThankYouPage, aby:
-
utrzymać pełne szczegóły zamówienia na stronie sukcesu (pozycje, kwoty, dane),
-
dodać na dole dedykowany blok CMS przygotowany dla toursport.pl.
W bloku CMS umieszczono m.in.:
-
krótką instrukcję “co dalej” (mail, czas realizacji, kontakt),
-
sekcję z linkami do pomocy (zwroty, reklamacje, regulamin),
-
banner zachęcający do kolejnych zakupów (np. akcesoria / dodatki),
-
komunikat sprzedażowy dopasowany do brandu.
Efekt
-
Klient od razu widzi nie tylko numer zamówienia, ale też komplet informacji i instrukcji.
-
Zespół sklepu może edytować treść bez udziału programisty — wystarczy podmiana bloku CMS.
-
Rozwiązanie jest lekkie i bezpieczne: nie ingeruje w proces zamówienia, tylko w widok sukcesu.








