[-] BO : fix #PSFV-866 : Add the missing hook for update a product
This commit is contained in:
@@ -1593,6 +1593,8 @@ class AdminProductsControllerCore extends AdminController
|
|||||||
|
|
||||||
if (empty($this->errors))
|
if (empty($this->errors))
|
||||||
{
|
{
|
||||||
|
Hook::exec('actionProductUpdate', array('product' => $object));
|
||||||
|
|
||||||
if (in_array($object->visibility, array('both', 'search')))
|
if (in_array($object->visibility, array('both', 'search')))
|
||||||
Search::indexation(false, $object->id);
|
Search::indexation(false, $object->id);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user