On the Checkout Success page, I want to show an additional message after Your order is...
. I guess I can do that by an after method via plugin but I don't find the right method where to plug in. Can somebody give me a hint?
Magento – Magento 2 show additional message on Checkout Success Page
magento2plugin
Related Topic
- Magento 2 Success Message – Set with Specific Location
- Magento 2 – Success Message Not Showing in Custom Module
- Magento – Magento 2 – redirect to final checkout page (checkout success/failed)
- Magento – Magento 2 : I need to change add to cart success message after adding product into cart through plugin
- Magento 2.2.4 – Show Error Message Returned by Plugin
Best Answer
There is a simple solution for this. We should override the checkout success page in your custom theme:
app/design/frontend/{Vendor}/{Theme}/Magento_Checkout/templates/success.phtml
.Or, we can reference the container
order.success.additional.info
{Vendor}/{Module}/view/frontend/layout/checkout_onepage_success.xml