Question

 <?php echo $this->getChildHtml('order_totals') ?> 

I am searching the path in server. but unable to find Please help me.

Was it helpful?

Solution

order_totals is the block name defined in:

app/design/frontend/{package}/{theme}/layout/sales.xml

if you look above xml, there will code like:

.....

<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">

.....

So call to :

<?php echo $this->getChildHtml('order_totals') ?> 

will render the block in your phtml. i.e

Hope above will help!

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top