Hi,
We are working on improvements for emails.
For the moment, you can add a new filter for orders, like I said in my previous post.
You can edit the HikaMarket mail class (administrator/com_hikamarket/classes/mail.php) and replace
$vendor_id = 0;
if(!empty($mail->data->old->order_vendor_id))
$vendor_id = (int)$mail->data->old->order_vendor_id;
if(!empty($mail->data->order_vendor_id))
$vendor_id = (int)$mail->data->order_vendor_id;
if($supportEmail == 0 || $vendor_id == 0) {
$do = false;
return;
}
By:
$vendor_id = 0;
if(!empty($mail->data->old->order_vendor_id))
$vendor_id = (int)$mail->data->old->order_vendor_id;
if(!empty($mail->data->order_vendor_id))
$vendor_id = (int)$mail->data->order_vendor_id;
$order_status = 'created';
if(!empty($mail->data->old->order_status))
$order_status = $mail->data->old->order_status;
if(!empty($mail->data->order_status))
$order_status = $mail->data->order_status;
if($supportEmail == 0 || $vendor_id == 0 || $order_status == 'created') {
$do = false;
return;
}
So the order status notification will not be sent when the order_status is "created".
Regards,