itfitz Posted March 6, 2007 Share Posted March 6, 2007 Hi: I am having a problem with some of my customers shecking the wrong box for the payment, so I want to spread them out a little bit so they are not so bunched together to help eliminate this problem. Any idea on what file to modify, and can I just put some <br>'s in it to space them out or what do I need to do? thanks, shawn If it was easy, anyone could do it! Link to comment Share on other sites More sharing options...
davidinottawa Posted March 6, 2007 Share Posted March 6, 2007 Hi: I am having a problem with some of my customers shecking the wrong box for the payment, so I want to spread them out a little bit so they are not so bunched together to help eliminate this problem. Any idea on what file to modify, and can I just put some <br>'s in it to space them out or what do I need to do? easiest to modify the checkout_payment.php file. Look for code in and around here : <?php $selection = $payment_modules->selection(); if (sizeof($selection) > 1) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan=2><b>Your privacy is important to cranberrycorners.ca</b>.<br>Your credit card details remain secure and encrypted through <A HREF="https://buy.entrust.net/secure-tpl/securityseal.cfm?ID=A24F6964-A4BF-B36B-0121926C755804CC-60242" target="_blank">Entrust Digital Certificates</a>.<br> <A HREF="https://buy.entrust.net/secure-tpl/securityseal.cfm?ID=A24F6964-A4BF-B36B-0121926C755804CC-60242" target="_blank"><img src="http://cranberrycorners.ca/images/entrust-seal.gif" width="73" height="32" border="0" alt="Secure Site Seal"></A></td> <td> </td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td colspan=2 class="main" valign="top"><b><?php echo TEXT_SELECT_PAYMENT_METHOD; ?></b></td> <td> </td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <!-- <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td colspan=2 class="main" valign="top" ><b><?php echo TITLE_PLEASE_SELECT; ?></b></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> --> <?php } else { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><b>Your privacy is critical to cranberrycorners.ca</b>.<br>Your credit card details remain secure and encrypted through <A HREF="https://buy.entrust.net/secure-tpl/securityseal.cfm?ID=A24F6964-A4BF-B36B-0121926C755804CC-60242" target="_blank">Entrust Digital Certificates</a>.<br><A HREF="https://buy.entrust.net/secure-tpl/securityseal.cfm?ID=A24F6964-A4BF-B36B-0121926C755804CC-60242" target="_blank"><img src="http://cranberrycorners.ca/images/entrust-seal.gif" width="73" height="32" border="0" alt="Secure Site Seal"></A></td> <td> </td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="100%" colspan="2"><?php echo TEXT_ENTER_PAYMENT_INFORMATION; ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } $radio_buttons = 0; for ($i=0, $n=sizeof($selection); $i<$n; $i++) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php if ( ($selection[$i]['id'] == $payment) || ($n == 1) ) { echo ' <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n"; } else { echo ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n"; } ?> <td width="10"> <?php if (sizeof($selection) > 1) { echo tep_draw_radio_field('payment', $selection[$i]['id']); } else { echo tep_draw_hidden_field('payment', $selection[$i]['id']); } ?> <?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="3"><b><?php echo $selection[$i]['module']; ?></b></td> <td class="main" align="right"> </td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php if (isset($selection[$i]['error'])) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="4"><?php echo $selection[$i]['error']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } elseif (isset($selection[$i]['fields']) && is_array($selection[$i]['fields'])) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td colspan="4"><table border="0" cellspacing="0" cellpadding="2"> <?php for ($j=0, $n2=sizeof($selection[$i]['fields']); $j<$n2; $j++) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo $selection[$i]['fields'][$j]['title']; ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo $selection[$i]['fields'][$j]['field']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } ?> </table></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } ?> </table></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php $radio_buttons++; } ?> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.