Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Integrating Discount Coupons into Fast Easy Checkout


SierraTango

Recommended Posts

Hi,

 

I have spent days trying to figure out how to get Discount Coupons to work with Fast Easy Checkout, unfortunately I am not the greatest with PHP so it is really quite frustrating for me. The best I have done is to get the Discount Coupon input form to display on the checkout page but it won't calculate the total on the confirmation page.

 

I was wondering if there is anyone out there who has successfully combined the two contributions and would like to share some much needed help. I'm sure there are many others out there that would benefit too.

 

Thanks for any info.

Link to comment
Share on other sites

Ok so I figured it out and everything seems to be working perfectly together now.

 

Solution:

Discount coupons code for checkout_confirmation.php and checkout_payment.php all go into checkout_shipping.php.

 

Simple enough. I can't believe I wasted so much time trying to figure it out.

Link to comment
Share on other sites

  • 2 weeks later...

Ok so I figured it out and everything seems to be working perfectly together now.

 

Solution:

Discount coupons code for checkout_confirmation.php and checkout_payment.php all go into checkout_shipping.php.

 

Simple enough. I can't believe I wasted so much time trying to figure it out.

 

 

Hello, Can I ask you that are you using this contribution Discount Coupon Code?

 

I tried Coupons By Ingo but have these issues:

1. The final total price were calculated as "pre-tax" price minus coupon value... so the final total price is not correct.

 

2. It seems to have problem for IE users. The continue button doesn't function. It works in Firefox though.

 

I'll really appreciate if you can share your feedback regarding the "discoun coupon code" and which version did you use?

 

Thank you very much!

Link to comment
Share on other sites

hello, I have the same problem, but I did not understand how to solve, you can send the solution?

thanks

 

 

Hello, the solution is simple: just copy the code needed for checkout_confirmation.php and checkout_payment.php and paste to checkout_shipping.php page. Goodluck!

Link to comment
Share on other sites

  • 1 year later...

Hi

 

Thanks for this great solution for integrating Discount Coupons Codes into Fast Easy Checkout! It sounds easy to do but I Cant get the coupon to show when I come to checkout_shipping.php. I have tryed to enter the code in different places with no result. Can anybody see what is wrong with tho code?

Attaching the checkout_shipping.php

checkout_shipping.php

Edited by Pingu01
Link to comment
Share on other sites

  • 2 weeks later...

Hi

 

Thanks for this great solution for integrating Discount Coupons Codes into Fast Easy Checkout! It sounds easy to do but I Cant get the coupon to show when I come to checkout_shipping.php. I have tryed to enter the code in different places with no result. Can anybody see what is wrong with tho code?

Attaching the checkout_shipping.php

 

 

Fixed!

 

In checkout_shipping.php

row 422 after:

 

<?php require('includes/fec/products_box.php');?>

<?php //require('includes/fec/comment_box.php');?>

<?php //require('includes/fec/shipping_box.php');?>

<?php require('includes/fec/ajax_shipping.php');?>

<?php

$show_total = tep_db_prepare_input($HTTP_GET_VARS['show_total']);

if ($show_total ==1) require('includes/fec/total_box.php');?>

<?php

// echo $order_total_modules->credit_selection();//rmh M-S_ccgv

?>

 

I pasted:

 

<?php

/* kgt - discount coupons */

if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS == 'true' ) {

?>

<tr>

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

<tr>

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

</tr>

</table></td>

</tr>

<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 class="main"><?php echo ENTRY_DISCOUNT_COUPON.' '.tep_draw_input_field('coupon', '', 'size="32"'); ?></td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

<tr>

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

</tr>

<?php

}

/* end kgt - discount coupons */

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