Jacque --
I think I found it. I was way off before. Take a look at this file:
includes/templates/template_default/templates/tpl_checkout_shipping_default.php
Or if you have already setup your own template directory, find tpl_checkout_shipping_default.php within it. And then comment out the following lines like so:
Code:
<div><?php echo $quotes[$i]['error']; ?></div>
<?php
} else {
for ($j=0, $n2=sizeof($quotes[$i]['methods']); $j<$n2; $j++) {// set the radio button to be checked if it is the method chosen
$checked = (($quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'] == $_SESSION['shipping']['id']) ? true : false);
if ( ($checked == true) || ($n == 1 && $n2 == 1) ) {
//echo ' <div id="defaultSelected" class="moduleRowSelected">' . "\n";
//} else {
//echo ' <div class="moduleRow">' . "\n";
}
?><?php
if ( ($n > 1) || ($n2 > 1) ) {?>
<!-- JACQUE, COMMENT OUT THE FOLLOWING LINE TO PREVENT DISPLAY OF SHIPPING COSTS -Rick
<div class="important forward"><?php echo $currencies->format(zen_add_tax($quotes[$i]['methods'][$j]['cost'], (isset($quotes[$i]['tax']) ? $quotes[$i]['tax'] : 0))); ?></div>
-->
<?php } else {?>
<!-- JACQUE, COMMENT OUT THE FOLLOWING LINE TO PREVENT DISPLAY OF SHIPPING COSTS -Rick
<div class="important forward"><?php echo $currencies->format(zen_add_tax($quotes[$i]['methods'][$j]['cost'], $quotes[$i]['tax'])) . zen_draw_hidden_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id']); ?></div>
-->
<?php }
?>
<?php echo zen_draw_radio_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'], $checked, 'id="ship-'.$quotes[$i]['id'] . '-' . $quotes[$i]['methods'][$j]['id'].'"'); ?>
<label for="ship-<?php echo $quotes[$i]['id'] . '-' . $quotes[$i]['methods'][$j]['id']; ?>" class="checkboxLabel" ><?php echo $quotes[$i]['methods'][$j]['title']; ?></label>
<!--</div>-->
<br class="clearBoth" />
<?php
$radio_buttons++;
}
}
?>
I am working with Zen Cart 1.3.7.1. If you are working with a different version you may need to dig around to find the right lines to eliminate. Let me know how it goes.
And likewise, greetings from the other side of the state. Looks like you run a neat operation there in Spokane. I'll stop by when I'm next out that way.
-- Rick
Bookmarks