cancel
Showing results for 
Search instead for 
Did you mean: 

How do you show delivery cost in the totals block on the checkout page?

How do you show delivery cost in the totals block on the checkout page?

Hello,

 

I'm using the onestepcheckout plugin for magento and I can't seem to find a way to show the delivery cost in the totals block. I'm using Magento 1.9.2.2. Can somebody help me?

2 REPLIES

Re: How do you show delivery cost in the totals block on the checkout page?

Hello foysal, 

 

Here is the solution for you. You can check the totals block in the following file:
 app/design/frontend/YOUR/THEME/template/checkout/onepage/review/totals.phtml

 

The following method allows to display shipping data and other data:

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

You can add any other required information in that file. Please note, it will work in case your checkout plugin uses standard Magento blocks

 

Regards,
Plumrocket Team

Re: How do you show delivery cost in the totals block on the checkout page?

Thank you for your answer.

 

I'm using Lotusbreath OnePageCheckout and this module got a totals.phtml too.

But when I use this piece of code I only seem to get the subtotal.