Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sign in to follow this  
SierraTango

Integrating Discount Coupons into Fast Easy Checkout

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.

Share this post


Link to post
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.

Share this post


Link to post
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.

 

 

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!

Share this post


Link to post
Share on other sites

Thanks for your note here! SierraTango! I use V3.34 (07/09/2009) for my FEC checkout process. Your solution - "Discount coupons code for checkout_confirmation.php and checkout_payment.php all go into checkout_shipping.php." works for me! Finally!! :D

Share this post


Link to post
Share on other sites

ciao, io ho lo stesso problema, ma non ho capito come si risolve, è possibile inviare la soluzione?

grazie :blush:

Share this post


Link to post
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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 */

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×