2

I want to edit the class in the button to buy, on /checkout/cart/, but when I go to the .phtml of that section, all I get is:

 <table id="shopping-cart-totals-table">
        <col />
        <col width="1" />
        <tfoot>
            <?php echo $this->renderTotals('footer'); ?>
        </tfoot>
        <tbody>
            <?php echo $this->renderTotals(); ?>
        </tbody>
    </table>

Where can I find the rendersTotal function?

3

Totals are render from the following .phtml

app/design/frontend/base/default/template/checkout/total/default.phml

You can change the class name in this file.

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

renderTotals function is defined in

 app/code/core/Mage/Checkout/Block/Cart/Totals.php
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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