Hi,
So for the popup not opening for one browser, it might be a javascript error on your pages because of a conflict with another plugin on your website.
For the confirmation email that's actually normal.
When the order is free, the validate free order plugin will change the status of the order during its creation. There won't be a status change triggered. So only the order creation email is sent, not the order status notification email.
If you want to change the code:
function onBeforeOrderCreate(&$order,&$send_email){
if(empty($order) || !isset($order->order_full_price))
return;
if(bccomp($order->order_full_price,0,5)==0){
$order->order_status = 'confirmed';
}
}
to:
function onAfterOrderCreate(&$order){
if(empty($order) || !isset($order->order_full_price))
return;
if(bccomp($order->order_full_price,0,5)==0){
$orderObj = new stdClass();
$orderObj->order_status = 'confirmed';
$orderObj->history->history_notified = 1;
$orderObj->order_id = $order->order_id;
$orderClass = hikashop_get('class.order');
$orderClass->save($orderObj);
}
}
in the file plugins/hikashop/validate_free_order/validate_free_order.php