Page 125 of 248 FirstFirst ... 2575115123124125126127135175225 ... LastLast
Results 1,241 to 1,250 of 2475
  1. #1241
    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 medeano View Post
    Sorry just one small question in the rewards admin folder there is a file called - sqlpatch.zip

    Do i have to apply this patch ??

    Many thanks
    Just unzip it to your admin/ folder- It fixes a bug in the original.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  2. #1242
    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 ryanb4614 View Post
    I have the newest version, I use a cash value discount not a % percent..... but in the "My account" is shows it as a percent and everything else is a $ as it should be
    PHP Code:
     if(defined(MODULE_ORDER_TOTAL_REWARD_POINTS_DISCOUNT_STATUS) && MODULE_ORDER_TOTAL_REWARD_POINTS_DISCOUNT_STATUS==true)
         {
            
    $row=GetRewardPointDiscountRow($total_points);
            if(
    $row!=null)
             
    $points_value=$row['discount'].'%';
            else
             
    $points_value="0%";
         } 
    Are you using 1.27a? I'll check this out in the morning...
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  3. #1243
    Join Date
    Feb 2008
    Posts
    569
    Plugin Contributions
    0

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

    Yes I am. It is only is in under "my account" view account information. Everywhere else it works. Thank you!

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

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

    Make sure you've extracted the tpl_account_edit_default.php to your correct custom folder- the full code for that segment should be:

    PHP Code:
    <fieldset>
    <legend><?php echo REWARD_POINT_TITLE?></legend>
    <?php
        $total_points
    =getCustomersRewardPoints($_SESSION['customer_id']);
        if(
    defined(MODULE_ORDER_TOTAL_REWARD_POINTS_STATUS) && MODULE_ORDER_TOTAL_REWARD_POINTS_STATUS==true)
        {
            
    $redeem_ratio=GetRedeemRatio($_SESSION['customer_id']);
            
    $points_value=$currencies->format($total_points*$redeem_ratio);
        }
        else
         if(
    defined(MODULE_ORDER_TOTAL_REWARD_POINTS_DISCOUNT_STATUS) && MODULE_ORDER_TOTAL_REWARD_POINTS_DISCOUNT_STATUS==true)
         {
            
    $row=GetRewardPointDiscountRow($total_points);
            if(
    $row!=null)
             
    $points_value=$row['discount'].'%';
            else
             
    $points_value="0%";
         }
        
        echo 
    '<label class="inputLabel">'.REWARD_POINT_PROMPT.'</label>'.'<label class="inputLabel">'.$total_points.'</label>'
        echo 
    '<br class="clearBoth" />';
        echo 
    '<label class="inputLabel">'.REWARD_POINT_VALUE_PROMPT.'</label>'.'<label class="inputLabel">'.$points_value.'</label>';
    ?>
    <br class="clearBoth" />
    </fieldset>
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  5. #1245
    Join Date
    Feb 2008
    Posts
    569
    Plugin Contributions
    0

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

    Quote Originally Posted by hem View Post
    Make sure you've extracted the tpl_account_edit_default.php to your correct custom folder- the full code for that segment should be:

    PHP Code:
    <fieldset>
    <legend><?php echo REWARD_POINT_TITLE?></legend>
    <?php
        $total_points
    =getCustomersRewardPoints($_SESSION['customer_id']);
        if(
    defined(MODULE_ORDER_TOTAL_REWARD_POINTS_STATUS) && MODULE_ORDER_TOTAL_REWARD_POINTS_STATUS==true)
        {
            
    $redeem_ratio=GetRedeemRatio($_SESSION['customer_id']);
            
    $points_value=$currencies->format($total_points*$redeem_ratio);
        }
        else
         if(
    defined(MODULE_ORDER_TOTAL_REWARD_POINTS_DISCOUNT_STATUS) && MODULE_ORDER_TOTAL_REWARD_POINTS_DISCOUNT_STATUS==true)
         {
            
    $row=GetRewardPointDiscountRow($total_points);
            if(
    $row!=null)
             
    $points_value=$row['discount'].'%';
            else
             
    $points_value="0%";
         }
        
        echo 
    '<label class="inputLabel">'.REWARD_POINT_PROMPT.'</label>'.'<label class="inputLabel">'.$total_points.'</label>'
        echo 
    '<br class="clearBoth" />';
        echo 
    '<label class="inputLabel">'.REWARD_POINT_VALUE_PROMPT.'</label>'.'<label class="inputLabel">'.$points_value.'</label>';
    ?>
    <br class="clearBoth" />
    </fieldset>
    I replaced what you had, its the same that I had anyways. Still shows as this:
    Total Reward Point Value: 20%
    When it should be Total Reward Point Value: $20 .... Everything is located in the correct directory. Please let me know. I don't see anything in the code that points to it that it should use a $ insted when using a cash discount not a % discount.... Again this only in the my account settings, during checkout everything is how it should and it deducts correctly using $, its just showing wrong in the "My Account". Thank you.
    Last edited by ryanb4614; 3 Mar 2010 at 04:43 PM.

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

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

    Check your configuration table in MySQL and double check that MODULE_ORDER_TOTAL_REWARD_POINTS_STATUS has been inserted.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  7. #1247
    Join Date
    Feb 2008
    Posts
    569
    Plugin Contributions
    0

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

    where would the exact location be I could only find:
    MODULE_ORDER_TOTAL_REWARD_POINTS_DISPLAY_STATUS

  8. #1248
    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 ryanb4614 View Post
    where would the exact location be I could only find:
    MODULE_ORDER_TOTAL_REWARD_POINTS_DISPLAY_STATUS
    If you have phpmyadmin open your zencart database and search for it in the configuration table.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  9. #1249
    Join Date
    Feb 2008
    Posts
    569
    Plugin Contributions
    0

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

    nothing comes up for: MODULE_ORDER_TOTAL_REWARD_POINTS_STATUS
    Last edited by ryanb4614; 4 Mar 2010 at 12:30 AM.

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

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

    hmm- it looks like you need to run the update.sql through the sql patch.
    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