In my cart page i am trying to alter the styles of total price displayed
frontend\base\default\template\checkout/cart/totals.phtml
frontend\base\default\template\tax/checkout/grandtotal.phtml
frontend\base\default\template\tax/checkout/subtotal.phtml
These templates displays the subtotal and grand total.
<tfoot>
<?php echo $this->renderTotals('footer'); ?>
</tfoot>
<tbody>
<?php echo $this->renderTotals(); ?>
</tbody>
This is the default phtml. The <tfoot>
appears on first followed by <tbody>
but in browser the <tfoot>
appears after <tbody>
.
I was trying to modify the htmls for displaying this, but the pbm i facing is grand total appears above sub total.
How to make grand total appear after sub total?