Zen Cart Logo
Forums / General Questions / Changing the shipping options text on the confirmation page

Changing the shipping options text on the confirmation page

Locked

Views: 796

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
12 Sep 2008, 7:00 PM
#1
juno avatar

juno

New Zenner

Join Date:
Mar 2008
Posts:
22
Plugin Contributions:
0

Changing the shipping options text on the confirmation page

I want to change the text that is displayed on the delivery confirmation page based on the shipping method chosen -- specifically, I want to remind them that if they've chosen store pickup (code: storepickup) that they will receive a phone call when their order is ready.

I know that I need to change the following lines in tpl_checkout_confirmation_default.php:

<?php
    if ($order->info['shipping_method']) {
?>
<h1><?php echo HEADING_SHIPPING_METHOD; ?></h1>
<h3 id="checkoutConfirmDefaultShipmentTitle"><?php echo $order->info['shipping_method']; ?></h3>
<?php
    }
?>

However, I don't want to do a direct if($order->info['shipping_method'] == 'A bunch of text') because my shipping text is SO long.

I thought perhaps the shipping code was in with info, but appears not to be. $_SESSION['shipping'] is an array of who-know-what.

Can anyone make my weekend happy? :laugh: