Hey Guys,
Just upgraded to VirtueMart 2.6.12.2 and when an order is submitted the user receives 2 identical emails instead of 1.
Any ideas? Joomla version is 2.5.27
Thanks
bump?
So you searched the forum and tried the suggestions for this issue that you found? Did none of them work?
Like http://forum.virtuemart.net/index.php?topic=125572
http://forum.virtuemart.net/index.php?topic=124903
http://forum.virtuemart.net/index.php?topic=125785
Apparently you have to make a core hack to fix this problem , which will be overwritten when updating virtuemart, adding the following code in \administrator\components\com_virtuemart\models\orders.php removed the double emails:
Old code:
// Send the email
$res = shopFunctionsF::renderMail('invoice', $order['details']['BT']->email, $vars, null,$vars['doVendor'],$this->useDefaultEmailOrderStatus);
New code:
// Send the email
if(empty($shipment_name) || empty($payment_name)){
return false;
}
$res = shopFunctionsF::renderMail('invoice', $order['details']['BT']->email, $vars, null,$vars['doVendor'],$this->useDefaultEmailOrderStatus);
Found a forum link on one of the posts you pointed out, but the third one you cited is the same problem unanswered, I went ahead and replied to the guy...
I'm using Virtuemart 2.6.12 and Joomla 2.5.27 and have the same issue. I have to receive pending emails as the client wants to use the Offline Card Processing plugin bought from the VM plugin site. This means the client only gets the last four digits of the card if they receiving the pending order email. If they only receive the Confirmed order email, they lost the last four card digits. I know the Mods think pending is useless, but why have a plugin which replies on it if it's no good?
I opened a ticket with them to ask the same question and was fobbed off with the answer that settings where in VM configuration which was no help at all. I'm so frustrated with this now that I could cheerfully just walk away from my company and just not work at all.
Does anyone know if this fix keeps the pending email for the vendor?
This fix uses the Pending status in the back-end, it will send the first 12 digits of the CC number using the offline CC processor by Alatek.
Hello
We have a tutorial here: http://extensions.virtuemart.net/all-tutorials/20-payments/27-offline-credit-card-processing
It should help you to configure the plugin.