$this->renderTotals() which renders block?

Jus picture Jus · May 15, 2013 · Viewed 12.9k times · Source

Hello (sorry for my english)

The file /app/design/frontend/my-theme/default/template/checkout/cart/totals.phtml has the command:

    <tbody>
        <?php echo $this->renderTotals(); ?>
    </tbody>

In my theme, not charge the purchase price in the shopping cart at: ... mystore.com / checkout / cart /

$this->renderTotals() renders which block?

Answer

x1sc0 picture x1sc0 · Aug 8, 2013

I just spent an hour searching for this myself. The .phtml files that get called by this function are inside tax/checkout.

For instance, to change the "Grand Total" edit the file:

/app/design/frontend/yourtheme/default/template/tax/checkout/grandtotal.phtml