orange_ecom_starter-2.0.x-dev/templates/commerce/commerce-checkout-completion-message.html.twig
templates/commerce/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
*/
#}
<h1 class="page-title">{{ 'Order Received!'|t }}</h1>
<div class="checkout-complete">
<h3>{{ 'Thank You!'|t }}</h3>
<p>{{ 'Your order has been submitted. You should receive confirmation via the email address provided.'|t }}</p>
<p>{{ 'Your order number is:'|t }} <span class="checkout-complete__order-number">{{ '@number'|t({'@number': order_entity.getOrderNumber}) }}</span></p>
<p>{{ 'If you have any questions, please <a href="@contact_url">contact</a> our customer service team.'|t({'@contact_url': path('entity.node.canonical', {'node': 5}) }) }}</p>
{% if payment_instructions %}
<div class="checkout-complete__payment-instructions">
<h2>{{ 'Payment instructions'|t }}</h2>
{{ payment_instructions }}
</div>
{% endif %}
</div>
