products_tags_set.after

Triggered on adding or removing tags for a product group.

Shop-Script

Input (passed by reference)

$params array Parameters.
$params['delete_tags'] array IDs of removed tags.
$params['tags'] array Names of added tags.
$params['hash'] string Hash used to create an instance of a product collection handling class corresponding to selected products.
$params['products_id'] array IDs of individually selected products.
… your plugin code …

Output

Shop-Script

Plugin code example

PHP

public function productsTagsSetAfter($params)
{
    waLog::dump($params, 'shop/myplugin/products-tags-set-after.log');
}