Results 1 to 10 of 2475

Threaded View

  1. #10
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

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

    Quote Originally Posted by bryan22 View Post
    Hello, just wanted to report what i think is a bug.

    The Issue:
    When a sale is active the reward points show properly on product details pages, but incorrectly at checkout and are added with pre sale values.
    The Solution: In catalog/includes/functions/extra_functions/reward_points_functions.php -> function GetProductRewardPoints
    when checking to see if a sale price is active it also stipulates the condition && !$attributes.

    I believe this to be error - the result is that products with attributes do not get rewards points for special pricing. The fix for me is just to remove that condition. now the condition is this...
    PHP Code:
    $special_price=zen_get_products_special_price($products_id);
                
                if(
    REWARD_POINTS_SPECIAL_ADJUST=='1' && $special_price )
                 
    $reward_price=$special_price
    Hopefully this helps someone. I've also made a small hack to make the maximum points per purchase an ultimate maximum if anyone is interested in that, ie customers cannot receive more than 'n' number of points before spending more.
    You are the first person to ever report a bug in Sales/Specials. I have checked my test site and I don't have the problem you are experiencing neither has anybody else.

    Go back and make sure all the reward points files uploaded correctly. It is something in your installation not in the module.

    Also the hack you are offering makes no sense. Reward points was created to reward customers when they purchase products from your site. Why would you penalize the customer from earning more points just because they don't spend them when you want them to. There is a feature in admin/modules/order total/Reward Points you can set to Automatic. It will select all Reward Points earned by the customer and enter them at checkout. So the hack you have come up with is of no use.
    Last edited by countrycharm; 14 Feb 2014 at 05:19 AM.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

 

 

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

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