icedoutrolla Posted December 17, 2013 Posted December 17, 2013 Does anyone know how to change the output format of this code? if (MODULE_ORDER_TOTAL_INSTALLED) { $order_total_modules->process(); echo $order_total_modules->output(); Currently the totals displayed in the billing information table on my checkout_confirmation.php page is being squashed up by the long shipping description. I want to give this table fixed widths.
FIMBLE Posted December 17, 2013 Posted December 17, 2013 Would it not be easier to change the text that is causing the problem? otherwise, in the file checkout_confirmation.php <td width="30%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo '<strong>' . HEADING_BILLING_ADDRESS . '</strong> <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <tr> <td><?php echo tep_address_format($order->billing['format_id'], $order->billing, 1, ' ', '<br />'); ?></td> </tr> <tr> <td><?php echo '<strong>' . HEADING_PAYMENT_METHOD . '</strong> <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <tr> <td><?php echo $order->info['payment_method']; ?></td> </tr> </table></td> <td width="70%" valign="top" align="right"><table border="0" cellspacing="0" cellpadding="2"> change the width in this line to, say 20% <td width="30%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> and the width in this line to 80% <td width="70%" valign="top" align="right"><table border="0" cellspacing="0" cellpadding="2"> Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Recommended Posts
Archived
This topic is now archived and is closed to further replies.