Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I'm nearing completion on my store. Everything is table free with a few minor things.

 

I've come across some code in checkout_payment.php and I'm not sure what to do with it. Should be around line 250.

 

if ( ($selection[$i]['id'] == $payment) || ($n == 1) ) {
  echo '				  <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n";
} else {
  echo '				  <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n";
}

 

As it is, I've removed all of the other table tags from the page. No payment options are showing up anymore. I'm not sure exactly what this code does, so I don't know how to convert it to something that will work. Any help is appreciated. Thanks!

  • 3 weeks later...
Posted
I'm nearing completion on my store. Everything is table free with a few minor things.

 

I've come across some code in checkout_payment.php and I'm not sure what to do with it. Should be around line 250.

 

*snip*

 

As it is, I've removed all of the other table tags from the page. No payment options are showing up anymore. I'm not sure exactly what this code does, so I don't know how to convert it to something that will work. Any help is appreciated. Thanks!

 

For some reason the code is generating some javascript within the table row. The $radio_buttons variable is presumably generating some table cells. You should be able to retain the javascript within a div or span and turn the output of $radio_buttons into a list.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...