Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
One thing I notice , and I also think I've mentioned in some previous thread, is that in Advanced Reward Point Calculation Rules, there's no ot_total to subtract to.
This configuration, has a strange behavior and it's coming or built from a jscript.
Sometimes I see a t_total but never the ot_total
I remember that I've saw this array, but never quite understood why it was not reading the proper name.
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
Quote:
Originally Posted by
chibipaw
Thanks for the point. Sometimes its just really hard to sift through the threads without missing critical pieces.
Looks like your code allowed redemption of the rewards points at check out.
but I have noticed now that a customer can check out, but the points are not actually subtracted from the customer's account. Are you having that problem too, or is there another patch for that?
I check the file again, and for some reason I didnt' change to what I've posted here:
See if this works ( at includes/modules/order_toral/ot_rewards_points.php around line 122 )
So change the zen_draw_hidden_field('redeem_checkout_flag',true) to zen_draw_hidden_field('redeem_checkout_flag',1)
PHP Code:
if(MODULE_ORDER_TOTAL_REWARD_POINTS_TYPE=="Automatic")
$prompt=zen_draw_checkbox_field('redeem_flag',true,isset($_SESSION['redeem_value']),'').' '.zen_draw_hidden_field('redeem_checkout_flag',1);
else
$prompt =zen_draw_input_field('redeem_points',isset($_SESSION['redeem_points'])).' '.zen_draw_hidden_field('redeem_checkout_flag',1);
I'm using the simple calculation mode, but I think this is working.
But also check if the Advanced Reward Point Calculation Rules are ok. As I mentioned, I think this is not working very well.
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
Thank you SO much! This seems to be working for me, and I have the advanced rules enabled.
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
I'm not sure if it's entirely working. I'm getting for some reason less 10 points on the check-out.
I'm on mobile, so cant give a example, but check if it's resetting points when clearing / changing a basket, and if the calculations are ok during the all check-out process.
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
I just tried a very convoluted process of adding products, selecting reward points to redeem, removing products, unchecking redeem points, in various combinations and the reward points were always accurate. I didn't go right through to the order confirmation though - is that where you are having trouble?
I just noticed though that I had done some previous editing on this file e.g. changing line 26 to function __construct()
There may be other changes too, it was a while since I did that.
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
Probably I have something wrong, but I haven't yet figure out what
...
Do you use the round number ( in the configuration ? )
I have 0.5.....
But again, I cant give the right info since I'm on mobile. But if it's working for you, thats cool.
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
My reward point rounding is set to 0.0
Other settings:
Reward Point Status Track : Simple
Adjust Reward Points for Sales/Specials : 1
Advanced Reward Point Calculation Rules : Advanced Rules Enabled
Most other settings are at 0
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
I've implemented the changes from post #202.
Quick test looks like the points are finally being subtracting.
My rounding is set to 0.025.
I have not noticed rounding problems yet. But then I haven't really fine tune examine the results yet.
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
Quote:
Originally Posted by
chibipaw
I've implemented the changes from post #202.
Quick test looks like the points are finally being subtracting.
My rounding is set to 0.025.
I have not noticed rounding problems yet. But then I haven't really fine tune examine the results yet.
I've upgraded my zen cart to the newest version and now my reward points are working right up to the redeem part. They are being calculated correctly but when the customer tries to redeem them it doesn't work. Will someone try and fix this module or would I be best issuing gift certificate balances for the amounts on every account and looking for something more reliable? If there is an official fix could someone please help me with this as I'm not hugely knowledgeable about coding and things or can you recommend a more reliable module? Thank you so much.
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
It's quite a simple fix as explained in https://www.zen-cart.com/showthread....55#post1318755
There are two instances where you have to change "true" to "1"