1

I want to get the list of taxes to display on cart page.. The code that is using to display the tax is :

This block is showing tax information:

$this->renderTotals();

while this block is shwoing grand total:

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

But i need to made some changes... please tell me which file i have to look for so i can make the changes...

I tried all the files adn check the coding.. but no success... Please help me....

2
  • turn on the template path hints
    – Marius
    Commented Oct 31, 2014 at 7:42
  • use magento developer toolbar extension to easy to idea which function, controller and how to access this with file path. Commented Oct 31, 2014 at 9:30

2 Answers 2

1

The class for this block is defined in the file Mage/Checkout/Block/Cart/Totals.php If you open this file you will find renderTotals() defined here. I think you are interested in making changes here. If yes, you can override this class and make your changes.

-1

Check this file out:

app/design/frontend/base/default/template/checkout/total/tax.phtml

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.