PrestaShop Developer Conference
PrestaShop Developer Conference
Paris, France - November 30, 2023
Let's talk code, commerce and open source.

Hook actionProductAttributeDelete

Aliases:

  • deleteProductAttribute

Information

Product attribute deletion:

This hook is displayed when a product’s attribute is deleted

Hook locations:

  • front office

Hook type: action

Located in:

Call of the Hook in the origin file

Hook::exec('actionProductAttributeDelete', ['id_product_attribute' => 0, 'id_product' => (int) $this->id, 'deleteAllAttributes' => true])