products_tags_set.before
Triggered before 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.
$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 productsTagsSetBefore(&$params) { shopMyPluginHelper::updateProductsTags($params); }