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

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

1 Answer 1

0

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!

3
  • Thanks, It helped me :)
    – Pratibha
    Commented May 18, 2019 at 6:53
  • Welcome @Pratibha :)
    – Pawan
    Commented May 19, 2019 at 14:21
  • What about reorder page sir ? Commented Sep 30, 2020 at 6:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.