Hi,
This is not yet possible in the mass actions, but I add that on our TODO list.
For the moment, you could potentially edit the file "plugins/hikashop/massaction_product/massaction_product.php" and add:
if(preg_match_all('#{(.*)}#U',$value,$matches)){
foreach($elements as $k => $element){
foreach($matches[0] as $match){
$var = str_replace(array('{','}'),'',$match);
$value = preg_replace('#'.$match.'#',$element->$var,$value);
}
}
}
Juste after:
$value = $this->massaction->updateValuesSecure($action,$elements,$possibleTables,$queryTables);
And use the following syntax:
product_canonical = STRING /shop/product/{product_alias}