How can I get the shipping options to only display the description for the radio button that is checked like it does on the payment page?
Looking at the code on the payment page it looks like this is the code that does it, but how do I integrate that into the shipping page?
onclick = "showPaymentForm('<?php print $payment->payment_class ?>')"
AND THEN on the Divide section it says this:
<?php if ($this->active_payment != $payment->payment_id){?>style = "display:none"<?php } ?>
AND THEN on the bottom of the page there's this script:
<?php if ($payment_class){ ?>
<script type="text/javascript">
showPaymentForm('<?php print $payment_class;?>');
</script>
<?php } ?>
<script type="text/javascript">
showPaymentForm('<?php print $payment_class;?>');
</script>
<?php } ?>
How do I integrate this into the shipping page so it will do the same function as the payment page?