Thread: option buttons
View Single Post
  #1 (permalink)  
Old 2005-07-02, 11:14 AM
cancane1 cancane1 is offline
Junior Member
 
Join Date: Nov 2004
Posts: 8
cancane1
Default

HI,
new to php and trying to customize my checkout optin buttons. I want both options to go to thes same place now instead of two separate places. Problem is I cant find a main class. I went thru code and that is only thing that is called by the option button functin which Iput below. The only other class involves is the ones located in my payments folder under modules and it only gives basic info on payee. I need to change the link so they go to same place. Bump me into any direction tht will help will be forever grateful thanks

<?php
if (sizeof($selection) > 1) {
echo tep_draw_radio_field('payment', $selection[$i]['id']);
} else {
echo tep_draw_hidden_field('payment', $selection[$i]['id']);
}
?>
</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++) {
?>
Reply With Quote