Page 49 of 248 FirstFirst ... 3947484950515999149 ... LastLast
Results 481 to 490 of 2475
  1. #481
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

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

    Quote Originally Posted by dscott1966 View Post
    I have a problem i do not know if this can be fixed or not hoping it can be. I'm using the mod price updater. The problem is some of my attributes have different prices, the reward points are not updating to reflect the price change. But it is reflecting the price change in the checkout is there away to get it to reflect the price change on the product info page?

    Can be seen Here: http://dealz-r-us.com/index.php?main...&products_id=9

    Thank you
    Can iget some help with this Question? Has anyone run into this problem.

  2. #482
    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 dscott1966 View Post
    Can iget some help with this Question? Has anyone run into this problem.
    I'm sorry, I cannot guarantee that the RP mod will work with any other mod that does price changing.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  3. #483
    Join Date
    Feb 2004
    Posts
    174
    Plugin Contributions
    0

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

    Hi Andy
    do you have a time scale for looking at the PayPal part of this module?

    thanks

    Andy

  4. #484
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

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

    I too am having problems with this mod not correctly calculating point values.

    I want it to calculate based on the subtotal. Good enough and understood how to do that.

    The problem comes in when I adjust the "Point Reward Rounding" field in the admin.

    If I set it to "0" (no adding before rounding) then the system consistently mis-calculates the reward point total UNDER the amount it should be. This is more evident with larger orders. The larger the order the larger the discrepancy.

    Without a doubt this looks to be a problem with the way the Rewards points Rounds numbers to determine how many points to reward.

    Is there way in the code to simply look at the SUBTOTAL of the order and drop the decimals then generate points from that?

    For example, if the subtotal is $330.00 then the reward points (if 1 point per dollar spent) should be 330.

    Currently my system is calculating that at 336 points? Even with no other options (no shipping, no discounts) being used?
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  5. #485
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

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

    I know why it is doing what it is now.

    Let me see if I can explain. It DOES have to do with the way the system Loops through the "rounding" portion of the rewards points.

    Currently (and in my previous example posted) the system loops PER PRODUCT in the cart.

    The problem is that it also loops through and adds the "rounding" portion to each product. What the rounding portion should do is simply round 1 time based on the final order total (either up or down.)

    Right?

    Let me go back to my previous example and it may seem clearer:

    In that example I had 24 products in my cart for a total of $330 (excluding shipping, discounts etc...)

    I had the rounding factor (in the admin) set to ".25".

    Instead of receiving "330 points" based on the subtotal I got "336" points awarded. This came about because I determined that the system took 24 products and multiplied EACH ONE times "rewards rounding" of .25.

    Doing the math you find that 24 x .25 = 6.

    Add those 6 points to the 330 subtotal and you get 336. (6 more points than should be awarded).

    When I set the rounding factor to "0" or anything less than .25 the system is off in the other direction by that same amount.

    It's a calculation problem in the mod apparently.

    Does that sound right or am I missing something?
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  6. #486
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

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

    I figured it out.

    The problem was that there was a missing parameter in the super_orders_funtctions.php file.

    Around lines 409 - 412 you'll find:

    PHP Code:
      $db->Execute("UPDATE " TABLE_ORDERS " SET
                    orders_status = '" 
    $new_status "'
                    WHERE orders_id = '" 
    . (int)$oID "'");

    Change that to:

    PHP Code:
      $db->Execute("UPDATE " TABLE_ORDERS " SET
                    orders_status = '" 
    $new_status "', last_modified = now()
                    WHERE orders_id = '" 
    . (int)$oID "'");

    And you are all set. This must have been altered in an update release somewhere because it was working in previous versions I had.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  7. #487
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

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

    Quote Originally Posted by econcepts View Post
    I figured it out.

    The problem was that there was a missing parameter in the super_orders_funtctions.php file.

    Around lines 409 - 412 you'll find:

    PHP Code:
      $db->Execute("UPDATE " TABLE_ORDERS " SET
                    orders_status = '" 
    $new_status "'
                    WHERE orders_id = '" 
    . (int)$oID "'");

    Change that to:

    PHP Code:
      $db->Execute("UPDATE " TABLE_ORDERS " SET
                    orders_status = '" 
    $new_status "', last_modified = now()
                    WHERE orders_id = '" 
    . (int)$oID "'");

    And you are all set. This must have been altered in an update release somewhere because it was working in previous versions I had.

    Forget this post it was supposed to go to the Super Orders thread.

    It has nothing to do with this thread.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  8. #488
    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 andy View Post
    Hi Andy
    do you have a time scale for looking at the PayPal part of this module?

    thanks

    Andy
    I'll have another go at it in the next couple of days.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  9. #489
    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 econcepts View Post
    I too am having problems with this mod not correctly calculating point values.

    I want it to calculate based on the subtotal. Good enough and understood how to do that.

    The problem comes in when I adjust the "Point Reward Rounding" field in the admin.

    If I set it to "0" (no adding before rounding) then the system consistently mis-calculates the reward point total UNDER the amount it should be. This is more evident with larger orders. The larger the order the larger the discrepancy.

    Without a doubt this looks to be a problem with the way the Rewards points Rounds numbers to determine how many points to reward.

    Is there way in the code to simply look at the SUBTOTAL of the order and drop the decimals then generate points from that?

    For example, if the subtotal is $330.00 then the reward points (if 1 point per dollar spent) should be 330.

    Currently my system is calculating that at 336 points? Even with no other options (no shipping, no discounts) being used?
    It's on the wishlist (http://www.zen-cart.com/forum/showpo...&postcount=449)
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  10. #490
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

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

    Quote Originally Posted by hem View Post
    Thanks Andrew.

    I developed a work around using the "round()" function in place of the (int). This built in PHP function automatically rounds my figures for me based on the final order total (other items I setup) and eliminates the need for me to use the "point rounding" factor in the admin config.

    This solved my problem and both the rounding and points are right on the mark.

    I sent you a PM with more detail.
    Last edited by econcepts; 7 Oct 2008 at 03:08 AM. Reason: edited copy
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

 

 

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