commerce-checkout-completion-message.html.twig in Commerce Core 8.2
Default theme implementation for the completion message.
Available variables:
- order_entity: The order entity.
- message: The completion message.
- payment_instructions: The payment instructions, if provided.
1 theme call to commerce-checkout-completion-message.html.twig
- CompletionMessage::buildPaneForm in modules/
checkout/ src/ Plugin/ Commerce/ CheckoutPane/ CompletionMessage.php - Builds the pane form.
File
modules/checkout/templates/commerce-checkout-completion-message.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for the completion message.
- *
- * Available variables:
- * - order_entity: The order entity.
- * - message: The completion message.
- * - payment_instructions: The payment instructions, if provided.
- *
- * @ingroup themeable
- */
- #}
- <div class="checkout-complete">
- {{- message -}}
-
- {% if payment_instructions %}
- <div class="checkout-complete__payment-instructions">
- <h2>{{ 'Payment instructions'|t }}</h2>
- {{ payment_instructions }}
- </div>
- {% endif %}
- </div>