Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page

Hook displayOrderDetail

Informations

Order detail This hook is displayed within the order's details in Front Office
Hook displayOrderDetail
Locations
FO
Type display
Origin core
Aliases [orderDetailDisplayed]

Located in

Origin File
core controllers/front/OrderDetailController.php

Parameters details

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

Call of the Hook in the origin file

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