Credit Class & Gift Voucher 5.19 and osCommerce rc1 bug
I’m using oscommerce rc1 and found bug on checkout_payment.php page.
You have to redeem your coupon twice to make it working.
When you trying redeem coupon first time you get error like this:
The coupon has been successfully applied for
***HOWEVER:No reducion available, please see the coupon restrictions***
but when you trying enter this coupon second time - coupon applying successfully and you see below message:
The coupon has been successfully applied for $xx
To fix this bug you have to edit file catalog/includes/modules/order_total/ot_coupon.php
at line ~130 find:
if (!tep_session_is_registered('cc_id')) tep_session_register('cc_id'); $cc_id = $coupon_result['coupon_id'];
replace with:
$cc_id = $coupon_result['coupon_id']; tep_session_register('cc_id');
Thats all
Posted by admin
11.Feb.08
You can leave a response, or trackback from your own site.

















