I am working to print multiple order once. I have used the following code to get order email html section.
foreach($orderIds as $orderId): $order = Mage::getModel('sales/order')->load($orderId); Mage::unregister('current_order'); Mage::register('current_order', $order); echo $this->getChildHtml('sales.order.print'); endforeach;
But If I have multiple orders it repeats every time. but showing the same order. Every time same Child HTML loading, not changing dynamically. My question is how to load child block dynamically with changed value every time.