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 actionProductDelete


Product deletion This hook is called when a product is deleted
Hook actionProductDelete
Type action
Origin core
Aliases [deleteproduct]

Located in

Origin File
core classes/Product.php

Call of the Hook in the origin file

Hook::exec('actionProductDelete', ['id_product' => (int) $this->id, 'product' => $this])