Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Auto Selection of Radio Field


Recommended Posts

Hi Guys,


My store currently runs a customised one page checkout and the shipping is automatically selected using AJAX, now the problem I am finding is that the customer is not putting the dot in the radio selection field next to the shipping price.


Seeing as how there is only ever 1 shipping option displayed is it possible to have that radio field automatically selected when the shipping cost is calculated???


The line of code that produces the radio field is this (I think):


<?php echo tep_draw_radio_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'], $checked); ?>


If anyone has a solution then I would really appreciate it as it would save me loads of time chasing customers for shipping costs.


Many Thanks



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...