I have custom controller that knows order id, is it possible to g开发者_JS百科et order by order id in custom controller?
This is how I solved this:
$orderId = $_GET['orderId'];
$order = Mage::getModel('sales/order');
$order->load($orderId);
I have custom controller that knows order id, is it possible to g开发者_JS百科et order by order id in custom controller?
This is how I solved this:
$orderId = $_GET['orderId'];
$order = Mage::getModel('sales/order');
$order->load($orderId);
精彩评论