211655 Posted March 14, 2005 Share Posted March 14, 2005 hi, i have 4 diff shipping types. when i go to checkout_shipping page it selects the one i dont want. (i mean checked) this is the code: <?php } else { $size = sizeof($quotes1[$i]['methods']); for ($j=0, $n2=$size; $j<$n2; $j++) { // set the radio button to be checked if it is the method chosen $checked = (($quotes1[$i]['id'] . '_' . $quotes1[$i]['methods'][$j]['id'] == $giftwrap_info['id']) ? true : false); if ( ($quotes1[$i]['id'] . '_' . $quotes1[$i]['methods'][$j]['id'] == $giftwrap_info['id']) || (tep_count_giftwrap_modules() == (int)1) ) { echo ' <tr>' . "\n"; } else { echo ' <tr>' . "\n"; } ?> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="75%"><?php echo $quotes1[$i]['methods'][$j]['title']; ?></td> I need to have the number 1 (in sort order) to be checked which is individual shipping module. what to do. 211655 SEO Optimization Export Orders into CSV file Link to comment Share on other sites More sharing options...
211655 Posted March 15, 2005 Author Share Posted March 15, 2005 anyone please..... its bugging me for a long time. any suggestions or explain how the form elements are called in osc 211655 SEO Optimization Export Orders into CSV file Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.