Page 149 of 248 FirstFirst ... 4999139147148149150151159199 ... LastLast
Results 1,481 to 1,490 of 2475
  1. #1481
    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 ardhill View Post
    Hi

    Where does the link in the "Admin>Configuation>Reward Points" come from?

    I have a spare link in my config menu, and I was wondering how to get rid of it. The url is configuration.php?gID=31 if that means anything.

    That link goes to a basically blank page (I gues it is from a previous version). It isn't a problem as such, I just wanted to tidy things up a bit and remove the link/code/file/database entry or whatever it is.

    Thanks

    Paul
    there's an SQL patch included in the mod zipfile called remove_multiple_config_items.sql. Just run that under Config->Tools->SQL Patches.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  2. #1482
    Join Date
    Dec 2007
    Location
    Belfast, N.Ireland
    Posts
    96
    Plugin Contributions
    0

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

    Quote Originally Posted by hem View Post
    there's an SQL patch included in the mod zipfile called remove_multiple_config_items.sql. Just run that under Config->Tools->SQL Patches.
    Thanks Hem

  3. #1483

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

    Thanks Andrew,
    That lastest fix works perfectly!

    You can now allow your customer to enter the number of points they wish to redeem

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

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

    Now- does anybody else have any outstanding issues???
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  5. #1485
    Join Date
    Mar 2008
    Posts
    31
    Plugin Contributions
    0

    Default Re: Subtract reward points when order cancelled

    Quote Originally Posted by imagino View Post
    How to AUTOMATICALLY subtract reward points when customer cancelled his order?

    Thank you.
    Hem, am I missing some option, or it is not possible right now?

    Thank you.

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

    Default Re: Subtract reward points when order cancelled

    Quote Originally Posted by imagino View Post
    Hem, am I missing some option, or it is not possible right now?

    Thank you.
    The points will be removed if they are still pending. If you have moved the points to earned then you will need to manually remove them.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  7. #1487
    Join Date
    Jun 2008
    Location
    Singapore, Australia, America
    Posts
    96
    Plugin Contributions
    0

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

    Thank you Hem!

  8. #1488

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

    I've found a bug in the version 1.33a that allows the customer to enter more points than they have earned.
    I don't know how I managed to miss that one in my earlier tests

    To fix the bug, change function get_points_redeeming in includes/modules/order_total/ot_reward_points.php to:
    Code:
    function get_points_redeeming()
    {
    	if(MODULE_ORDER_TOTAL_REWARD_POINTS_TYPE=="Automatic")
    	 $points_redeeming=GetCustomersRewardPoints($_SESSION['customer_id']);
    	else
    	 if(isset($_POST['redeem_points']))
    	  $points_redeeming=$_POST['redeem_points'];
    	 else
    	  $points_redeeming=$_SESSION['redeem_points'];
    	 
    	$order_total=$this->get_order_total();
    	$redeem_maximum=GetRewardPointsRedeemMaximum($order_total);
    	$points_earned=GetCustomersRewardPoints($_SESSION['customer_id']);
    	if($points_redeeming>$points_earned)
    	 $points_redeeming=$points_earned;
    	if($points_redeeming>$redeem_maximum)
    	 $points_redeeming=$redeem_maximum;
    	 
    	return $points_redeeming;
    }
    The section in red is the new code

  9. #1489
    Join Date
    Mar 2008
    Posts
    31
    Plugin Contributions
    0

    Default Link in heading

    How can I make a link to some EZ-page in heading of RP box? I searched whole site and database for string "rewardpointsHeading", but nothing found, although the site really uses id="rewardpointsHeading" statement.

  10. #1490
    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 damiantaylor View Post
    I've found a bug in the version 1.33a that allows the customer to enter more points than they have earned.
    I don't know how I managed to miss that one in my earlier tests

    To fix the bug, change function get_points_redeeming in includes/modules/order_total/ot_reward_points.php to:
    Code:
    function get_points_redeeming()
    {
    	if(MODULE_ORDER_TOTAL_REWARD_POINTS_TYPE=="Automatic")
    	 $points_redeeming=GetCustomersRewardPoints($_SESSION['customer_id']);
    	else
    	 if(isset($_POST['redeem_points']))
    	  $points_redeeming=$_POST['redeem_points'];
    	 else
    	  $points_redeeming=$_SESSION['redeem_points'];
    	 
    	$order_total=$this->get_order_total();
    	$redeem_maximum=GetRewardPointsRedeemMaximum($order_total);
    	$points_earned=GetCustomersRewardPoints($_SESSION['customer_id']);
    	if($points_redeeming>$points_earned)
    	 $points_redeeming=$points_earned;
    	if($points_redeeming>$redeem_maximum)
    	 $points_redeeming=$redeem_maximum;
    	 
    	return $points_redeeming;
    }
    The section in red is the new code
    Nice one- I'll add it to the current code- Might tweak it up a little.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

 

 

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