Details

SEO osCommece Package XII

Loaded Features:
  • Spider Session Remover ( SID Killer )
  • Ultimate SEO URLs
  • Header Tags Controller
  • Google XML Sitemap
  • SEO Assistant
  • AJAX Attribute Manager
  • Product Extra Fields
  • X-Sell v2-MS2 - Cross Sell for MS2
  • Credit Class & Gift Voucher
  • TinyMCE WYSIWYG HTML EDITOR
  • Multi/extra images
  • Purchase Without Account
  • Newsletter & Subscribers

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 follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.