Page 21 of 37 FirstFirst ... 11192021222331 ... LastLast
Results 201 to 210 of 362
  1. #201
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default 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.
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  2. #202
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    Quote Originally Posted by chibipaw View Post
    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.
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  3. #203
    Join Date
    Mar 2007
    Location
    Taiwan
    Posts
    241
    Plugin Contributions
    0

    Default 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.

  4. #204
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default 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.

  5. #205
    Join Date
    Mar 2007
    Location
    Taiwan
    Posts
    241
    Plugin Contributions
    0

    Default 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.
    Last edited by paul3648; 22 Sep 2016 at 07:13 PM. Reason: add more info

  6. #206
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default 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.

  7. #207
    Join Date
    Mar 2007
    Location
    Taiwan
    Posts
    241
    Plugin Contributions
    0

    Default 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

  8. #208
    Join Date
    Jul 2011
    Posts
    146
    Plugin Contributions
    4

    Default 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.

  9. #209

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    Quote Originally Posted by chibipaw View Post
    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.

  10. #210
    Join Date
    Mar 2007
    Location
    Taiwan
    Posts
    241
    Plugin Contributions
    0

    Default 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"

 

 
Page 21 of 37 FirstFirst ... 11192021222331 ... LastLast

Similar Threads

  1. First 1.0 Release of Reward Points module [Support Thread]
    By hem in forum All Other Contributions/Addons
    Replies: 38
    Last Post: 4 Apr 2013, 02:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR