by shokinro » Mon May 23, 2016 2:36 pm
you may try to customize PrestaaShop mailalert module for that purpose.
1. You can get seller email address by following
$id_seller = AgileSellerManager::getObjectOwnerID('product', $id_product);
$seller = new Employee($id_seller);
2. look for following lines in mailalerts.php, and then try to replace the mail recipient by email address.
Mail::Send(
$id_lang,
'productoutofstock',
Mail::l('Product out of stock', $id_lang),
$template_vars,
$seller->email,
null,.......................