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 displayOrderPreview

Informations

Hook displayOrderPreview
Locations
BO
Type display
Origin core
Aliases
Description

Located in

Origin File
core src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/preview.html.twig

Parameters details

    <?php
    array(
      'order_id' => (integer) Order Id
    );

Call of the Hook in the origin file

{{ renderhook('displayOrderPreview', {'order_id': orderId}) }}