Forums / Bug Reports / messagestack problem in ot_coupon

messagestack problem in ot_coupon

Locked

Views: 2,022

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
24 Feb 2009, 12:55 AM
#1
felixbachman avatar

felixbachman

New Zenner

Join Date:
Feb 2009
Posts:
4
Plugin Contributions:
0

messagestack problem in ot_coupon

I just had the same problem using Zen Cart version 1.3.8 and found a bug in the coupon handling module ot_coupon.php in the directory includes/modules/order_total.

In line 220 you find the instruction:
$messageStack->add_session('checkout', TEXT_VALID_COUPON,'success');

The correct instruction must be:
$messageStack->add_session('checkout_payment', TEXT_VALID_COUPON,'success');

This fixed the problem for me. Hope it will help others.

24 Feb 2009, 3:43 PM
#2
felixbachman avatar

felixbachman

New Zenner

Join Date:
Feb 2009
Posts:
4
Plugin Contributions:
0

Re: messagestack problem in ot_coupon

I just had the same problem using Zen Cart version 1.3.8 and found a bug in the coupon handling module ot_coupon.php in the directory includes/modules/order_total.

In line 220 you find the instruction:
$messageStack->add_session('checkout', TEXT_VALID_COUPON,'success');

The correct instruction must be:
$messageStack->add_session('checkout_payment', TEXT_VALID_COUPON,'success');

This fixed the problem for me. Hope it will help others.
:clap: