You are here

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.

File

modules/checkout/templates/commerce-checkout-completion-message.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for the completion message.
  5. *
  6. * Available variables:
  7. * - order_entity: The order entity.
  8. * - message: The completion message.
  9. * - payment_instructions: The payment instructions, if provided.
  10. *
  11. * @ingroup themeable
  12. */
  13. #}
  14. <div class="checkout-complete">
  15. {{- message -}}
  16. {% if payment_instructions %}
  17. <div class="checkout-complete__payment-instructions">
  18. <h2>{{ 'Payment instructions'|t }}</h2>
  19. {{ payment_instructions }}
  20. </div>
  21. {% endif %}
  22. </div>