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 | actionGenerateDocumentReference |
---|---|
Locations | FO |
Type | action |
Origin | core |
Aliases | |
Description | This hook allows modules to return custom document references for order |
Origin | File |
---|---|
core | classes/order/Order.php |
$reference = Hook::exec('actionGenerateDocumentReference', [
'type' => 'order',
]);