Magento
Written by - Magento Certified Developer | eCommerce Specialist
Pages
Magento
My SQL
Contact Us
Thursday, February 9, 2012
Custom Code for Sending Email to Customer
$order = new Mage_Sales_Model_Order();
$incrementId = Mage::getSingleton('checkout/session')->getLastRealOrderId();
$order->loadByIncrementId($incrementId);
try
{
$order->sendNewOrderEmail();
} catch (Exception $ex) { }
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment