Page 72 of 248 FirstFirst ... 2262707172737482122172 ... LastLast
Results 711 to 720 of 2475
  1. #711
    Join Date
    Dec 2008
    Location
    sLOVEnia
    Posts
    18
    Plugin Contributions
    0

    Default Re: Reward Points Module- Live Release now available.

    If you mixed up the function files, maybe you also mixed up the language files. Because this happens when a language file (or at least text variable in it) is missing. In that case, zencart prints the name of the variable that is missing.

    Bye, Crt
    Last edited by trigi; 28 Dec 2008 at 08:46 AM. Reason: typo

  2. #712
    Join Date
    Sep 2007
    Posts
    128
    Plugin Contributions
    0

    Default Re: Reward Points Module- Live Release now available.

    Yes indeed!
    That was the cause of the issue. I reloaded the language files and all is right in the universe.
    Now I have to work on set up. If I have not said it yet thank you!!! It is folks like you that make all of this work.
    I hope to be in a position at some point to know this stuff well enough to in turn help someone else.

    A

  3. #713
    Join Date
    Dec 2008
    Location
    sLOVEnia
    Posts
    18
    Plugin Contributions
    0

    Default Re: Reward Points Module- Live Release now available.

    OK, since I had some time (holidays and all) I upgraded my store to 1.3.8. and the module is now working.

    But I have another problem now. When a customer chooses to redeem the points, he doesn't get any (or very little) points on that order, why? I installed 1.22.

    Thanks in advance, Crt

  4. #714
    Join Date
    Dec 2008
    Location
    sLOVEnia
    Posts
    18
    Plugin Contributions
    0

    Default Re: Reward Points Module- Live Release now available.

    To Correct Myself: the script works fine, it gives the apropriate amount of points, and the reward points sidebox shows the correct amount, but the order total shows up wrong.

    OK, so we have a minor cosmetical glitch

    Bye, Crt

  5. #715
    Join Date
    Dec 2008
    Location
    sLOVEnia
    Posts
    18
    Plugin Contributions
    0

    Default Re: Reward Points Module- Live Release now available.

    OK, I fixed it (I think)

    In file ot_reward_points_display.php (order total modules)

    There was a code:
    Code:
    if(isset($_SESSION['redeem_value']))
    		{
    			$redeem_ratio=GetRedeemRatio($_SESSION['customer_id']);
    			$reward_points=$reward_points/$redeem_ratio;
    			$reward_points=$reward_points-$_SESSION['redeem_value'];
    			$reward_points=$reward_points*$redeem_ratio;
    		}
    I commented the line that didn't seem right and voila:
    Code:
    if(isset($_SESSION['redeem_value']))
    		{
    			$redeem_ratio=GetRedeemRatio($_SESSION['customer_id']);
    			$reward_points=$reward_points/$redeem_ratio;
    			//$reward_points=$reward_points-$_SESSION['redeem_value'];
    			$reward_points=$reward_points*$redeem_ratio;
    		}

  6. #716
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Reward Points Module- Live Release now available.

    Quote Originally Posted by trigi View Post
    OK, I fixed it (I think)

    In file ot_reward_points_display.php (order total modules)

    There was a code:
    Code:
    if(isset($_SESSION['redeem_value']))
    		{
    			$redeem_ratio=GetRedeemRatio($_SESSION['customer_id']);
    			$reward_points=$reward_points/$redeem_ratio;
    			$reward_points=$reward_points-$_SESSION['redeem_value'];
    			$reward_points=$reward_points*$redeem_ratio;
    		}
    I commented the line that didn't seem right and voila:
    Code:
    if(isset($_SESSION['redeem_value']))
    		{
    			$redeem_ratio=GetRedeemRatio($_SESSION['customer_id']);
    			$reward_points=$reward_points/$redeem_ratio;
    			//$reward_points=$reward_points-$_SESSION['redeem_value'];
    			$reward_points=$reward_points*$redeem_ratio;
    		}
    That code was in place to stop customers from receiving points from orders where points were redeemed.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  7. #717
    Join Date
    Dec 2008
    Location
    sLOVEnia
    Posts
    18
    Plugin Contributions
    0

    Default Re: Reward Points Module- Live Release now available.

    OK, then it's a thing of an opinion.
    In my opinion it's fair, if they earned them, they can use them freely and not be "punished" for using them.

    Now I have a question, why do we have rounding of points if only full points can be awarded?

    Thanks, Crt

  8. #718
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Reward Points Module- Live Release now available.

    Quote Originally Posted by trigi View Post
    OK, then it's a thing of an opinion.
    In my opinion it's fair, if they earned them, they can use them freely and not be "punished" for using them.

    Now I have a question, why do we have rounding of points if only full points can be awarded?

    Thanks, Crt

    The rounding makes the difference between awarding 9 reward points or 10 reward points on an item costing 9.99.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  9. #719
    Join Date
    Dec 2008
    Location
    sLOVEnia
    Posts
    18
    Plugin Contributions
    0

    Default Re: Reward Points Module- Live Release now available.

    Oh yea... another thing to add to functionality requests

    Points Expiry Period - the period of time after wich the awarded points are deleted.

    To explain more in detail. Reward Points are usualy used as an reward for regular customers and regular customers only. So it would be nice if you could set the number of days after wich the reward points "go bad". I know it's hard to keep records of how many and when the points were rewarded and the delete them and everything, but for begining there could be function like this:
    Code:
    if date(now) > date_of_last_valid_order+expiry_time then delete_points;
    Sorry to be a bother, Crt
    Last edited by trigi; 29 Dec 2008 at 09:34 PM. Reason: Made so mistakes

  10. #720
    Join Date
    Dec 2008
    Location
    sLOVEnia
    Posts
    18
    Plugin Contributions
    0

    Default Re: Reward Points Module- Live Release now available.

    OK, I don't know if this is right, but this happened to me.
    I had rounding set to 1 and ratio set to 0.2.
    When a customer had 10 - 12.5€ in cart, he would only get 1 point.
    Is this OK?

    Bye, Crt

 

 

Similar Threads

  1. v139h Reward Points module display order totals including reward points
    By irsarahbean in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 Jun 2013, 01:19 AM
  2. Reward points module : 0 points earned
    By jonnyboy22 in forum Addon Payment Modules
    Replies: 5
    Last Post: 5 Jun 2012, 09:52 AM
  3. Reward Points module- points not calculated correctly
    By cpoet in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 9 Sep 2010, 05:02 PM
  4. Reward Points Module - Hide message when 0 points offered
    By expresso in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Dec 2008, 06:58 PM
  5. Experimental Reward Points Module
    By precursor999 in forum Addon Payment Modules
    Replies: 7
    Last Post: 2 Apr 2007, 09:32 AM

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