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 actionWishlistAddProduct

Informations

Hook actionWishlistAddProduct
Locations
FO
Type action
Origin module
Aliases

Located in

Origin File
blockwishlist modules/blockwishlist/controllers/front/action.php

Call of the Hook in the origin file

Hook::exec('actionWishlistAddProduct', [
            'idWishlist' => $idWishList,
            'customerId' => $this->context->customer->id,
            'idProduct' => $id_product,
            'idProductAttribute' => $id_product_attribute,
        ])