STILL CANNOT ADD COUPON WITHOUT REFRESH - ANYONE SOLVE THIS ISSUE YET???
I've SEARCHED EVERYWHERE WITH NO LUCK
I've tried these below codes and still does not work
I tried adding this code:
if (!tep_session_is_registered('coupon')) tep_session_register('coupon');
if (tep_not_null($HTTP_POST_VARS['coupon'])) {
$coupon = tep_db_prepare_input($HTTP_POST_VARS['coupon']);
}
BEFORE these lines:
require(DIR_WS_CLASSES . 'order.php');
$order = new order;