Hi Andrew,
I've tested the new includes/modules/order_total/ot_reward_points.php but there are still some bugs.
Firstly, in the ot_rewards_points.php file itself at line 113 you have
Code:
$prompt=zen_input_field('redeem_flag',true,isset($_SESSION['redeem_value'])).' '.zen_draw_hidden_field('redeem_checkout_flag',true);
My Zen Cart couldn't find the function zen_input_field, so I think this should be
Code:
$prompt=zen_draw_input_field('redeem_flag',true,isset($_SESSION['redeem_value'])).' '.zen_draw_hidden_field('redeem_checkout_flag',true);
That allows the page to render correclty, but it doesn't matter what value I type in to the box, on the checkout_confirmation page it still takes all the points I have available from the order total, ignoring what I type in the redeem points box
Bookmarks