product_save

Triggered on saving product properties.

Shop-Script

Input (passed by reference)

$params array Parameters.
$params['data'] array Data of product being saved.
$params['instance'] shopProduct Product handling class instance.
… your plugin code …

Output

Shop-Script

Plugin code example

PHP

public function productSave(&$params)
{
    shopMyPluginHelper::processSavedProduct($params);
}