Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Display Shipping Fee in Step 2 of Checkout

Display Shipping Fee in Step 2 of Checkout

Views: 531

Results 1 to 1 of 1
7 Apr 2011, 6:59 PM
#1
robertwhitis avatar

robertwhitis

New Zenner

Join Date:
Mar 2011
Posts:
42
Plugin Contributions:
0

Display Shipping Fee in Step 2 of Checkout

Hello,

I am using the latest version of Zen Cart.

I would like to display the shipping fee during step 2 of the checkout process.

Currently, it looks like this (shipping fee from step 1 is $5.10):

Sub-Total: $6.00
Total: $11.10

I would like it to instead look like this:
Sub-Total: $6.00
Shipping: $5.10
Total: $11.10

In the tpl_checkout_payment_default.php file, I found this code which points back to the order_total modules:

<fieldset id="checkoutOrderTotals">
<legend id="checkoutPaymentHeadingTotal"><span style="color: #6E9606;"><?php echo TEXT_YOUR_TOTAL; ?></span></legend>
<?php
  if (MODULE_ORDER_TOTAL_INSTALLED) {
    $order_totals = $order_total_modules->process();
?>
<?php $order_total_modules->output(); ?>
<?php
  }
?>
</fieldset>

Which part of which file in the includes/modules/order_total/ directory do I need to edit to make this addition? I have searched through them and the section that needs to be edited did not jump out at me.

Any help would be greatly appreciated.:frusty: