문제

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

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

도움이 되었습니까?

해결책

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!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top