Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shipping Options - Radio Button not showing up


bdownes

Recommended Posts

Posted

When I check out using a Mac browser version 5.2.2

 

The Shipping Options show up fine. BUT... the radio button next to each shipping option does not show up.

 

Anyone else experiencing this?

 

Thanks,

Jared Geesey

Posted

Just tried it on a Windows XP machine. Same thing happens. Shipping defaults to one type, even if you select (highlight) a different ship type and amount.

 

Strange. Anyone help on this?

 

Thanks,

Jared Geesey

  • 2 weeks later...
Posted
Just tried it on a Windows XP machine. Same thing happens. Shipping defaults to one type, even if you select (highlight) a different ship type and amount.

 

Strange. Anyone help on this?

 

Thanks,

 

I'm having a similar problem when I have only one type of shipping module selected (like UPS or FEDEX), that has more than one possible rate, I don't get the radio buttons to select which type of service I want. I looked in the code and fixed the problem thus:

 

checkout_shipping.php around line 200 look for:

  $quotes_size = sizeof($quotes);

and add after it:

  $methods_size = 0; // default to zero

 foreach ( $quotes as $a_quote ){

   $methods_size += sizeof($a_quote['methods']);

 }

 

Then around line 210, change the if statement from

  if ($quotes_size > 1) {

to

  if ($methods_size > 1) {

 

Also around line 260 change the

       if ($quotes_size > 1) {

to

      if ($methods_size > 1) {

 

Then you should get radio buttons for the various methods available thru a single shipping module.

Archived

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

×
×
  • Create New...