commerce-8.x-2.8/modules/checkout/templates/commerce-checkout-completion-message.html.twig
modules/checkout/templates/commerce-checkout-completion-message.html.twig
{#
/**
* @file
* Default theme implementation for the completion message.
*
* Available variables:
* - order_entity: The order entity.
* - payment_instructions: The payment instructions, if provided.
*
* @ingroup themeable
*/
#}
<div class="checkout-complete">
{{ 'Your order number is @number.'|t({'@number': order_entity.getOrderNumber}) }} <br>
{{ 'You can view your order on your account page when logged in.'|t }} <br>
{% if payment_instructions %}
<div class="checkout-complete__payment-instructions">
<h2>{{ 'Payment instructions'|t }}</h2>
{{ payment_instructions }}
</div>
{% endif %}
</div>
