Warning: You are browsing the documentation for PrestaShop 8, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 9. Read the updated version of this page

Learn how to update to the latest version.

Hook displayOrderConfirmation

Informations

Order confirmation page This hook is called within an order's confirmation page
Hook displayOrderConfirmation
Locations
FO
Type display
Origin core
Aliases [orderConfirmation]
Description This hook is called within an order's confirmation page

Located in

Origin File
core controllers/front/OrderConfirmationController.php

Parameters details

    <?php
    array(
      'order' => (object) Order
    );

Call of the Hook in the origin file

Hook::exec('displayOrderConfirmation', ['order' => $order])