Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Putting the coupon box before the "Continue" button on checkout_payment.php


gtilflm

Recommended Posts

Hello. I'm using the contribution "Coupons by Ingo - Fixed & Compiled by Promaetheus (V2.0)" and on checkout_payment.php I'd like to have the coupon box above the continue checkout box. However, if I move it above, in the table, the "Continue" button will not work. If it's below, everything is fine.

 

The relevant part of the code is below. The way it is currently coded it works (because the coupon box is below). Thoughts?

 

 

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td class="main"><b><?php echo TITLE_CONTINUE_CHECKOUT_PROCEDURE . '</b><br>' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></td>

<td class="main" align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

 

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

 

 

//Begin coupon mod

<tr>

<td class="main"><b><?php echo TEXT_COUPON_HEADING; ?></b></td>

</tr>

<tr>

<td><?php require(DIR_WS_INCLUDES . 'boxes/coupon_payment.php'); ?></td>

</tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

//end mod

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...