dabri 0 Posted October 24, 2003 Hi, I?ve osC 2.2 MS2 Shop with SEC 2.2 installed on my webspace. Now I?ve installed the Shipdate v2.0 contribution: http://www.oscommerce.com/community/contributions,1393 Everything is work fine, but on the checkout_confirmation.php, I have the following strange behavior: Made the following changes: // if no shipping method has been selected or no shipdate, redirect the customer to the shipping method selection page if (!tep_session_is_registered('shipping') || !tep_session_is_registered('shipdate')) { and after this Code: <td class="main"><?php echo $order->info['shipping_method']; ?></td> </tr> <?php } I add the following Code: if (isset($order->delivery['shipdate'])) { ?> <tr> <td class="main"><?php echo '<b>' . HEADING_ARRIVAL_DATE . '</b> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <tr> <td class="main"><?php echo date('F j, Y',$order->delivery['shipdate']); ?></td> </tr> <?php }else{print_r($order->delivery);} ?> Can somebody tell me, how can I remove these array, which you can see in the image. Thanks Regards Daniel Share this post Link to post Share on other sites
PJRanger 0 Posted December 13, 2003 (edited) I don't know if this is still a problem for you but I had the same problem. I remedied the situation by deleting "print_r". from this: <?php }else{print_r($order->delivery);} ?> to this: <?php }else{($order->delivery);} ?> PJRanger Edited December 13, 2003 by PJRanger Share this post Link to post Share on other sites