Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Questions on Checkout Payment Page


aftabn10

Recommended Posts

I am looking to find out if it is possible to add some questions on the checkout payment page that the customer has to answer through radio buttons before processing the order?

 

The main aspect of the questions is to find out if the person whom the order is for, is pregnant. If the answer to this question is a yes then the order cannot proceed due to health regulations.

 

I am not sure how i can go on about doing this but needs to be done due to stop having to cancel orders in the backend due to this issue.

 

If somebody could please help, or guide me would really appreciate it.

 

Thanks in advance.

Link to comment
Share on other sites

  • 3 weeks later...

ok, thanks to TerryK (http://www.oscommerce.com/forums/topic/94259-how-to-add-radio-buttons-at-checkout-shipping/) I have managed to add radio buttons to my shipping page but I am looking to edit this with yes/no radio buttons for 2 questions but i am not sure how.

 

The following is the code I have:

 

<td width="10%" class="main" valign="top">
    <?php echo tep_draw_radio_field('backorders', 'Hold order until all items are in stock.') . '</td>
						 <td width="90%" class="main" valign="top">' . HOLD . '</td>
					    </tr>
					    <tr>
						 <td width="10%" class="main" valign="top">' . tep_draw_radio_field('backorders', 'Ship in-stock items now and backordered items as available.  Additional shipping charges may apply.', CHECKED) . '</td>
						 <td width="90%" class="main" valign="top">' . SHIP . '</td>
					    </tr>
					    <tr>
						 <td width="10%" class="main" valign="top">' . tep_draw_radio_field('backorders', 'Ship in-stock items and cancel any backordered items.') . '</td>
						 <td width="90%" class="main" valign="top">' . CANCEL . '</td>
					    </tr>
					  </table>'; ?>
					 </td>

 

If somebody could please help, would really appreciate it. Thnx

Link to comment
Share on other sites

ok, I have managed to get this added onto my checkout page using the above link. It was pretty straightforward and it was right in front of me, but maybe been spending too much looking at the same thing. Thnx every1 btw.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...