Page 27 of 37 FirstFirst ... 172526272829 ... LastLast
Results 261 to 270 of 363
  1. #261
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    Great!
    That's for sure, this module needs to be updated.
    I do remember having issues on module upgrade, I had to completely remove and then install.
    But I have this working on the latest zc version with PHP 7.1.... or at least I think I have this working.
    Tomorrow I'll test some more.
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  2. #262
    Join Date
    Jan 2018
    Posts
    165
    Plugin Contributions
    4

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    I am going to test this today. So far changed the MYSQL statements and those class functions to __construct.

  3. #263
    Join Date
    Jan 2018
    Posts
    165
    Plugin Contributions
    4

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    A bug?

    You cant enable both ot_reward_points and ot_reward_points_discount.

  4. #264
    Join Date
    Jan 2018
    Posts
    165
    Plugin Contributions
    4

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    this line in ot_reward_points module:

    PHP Code:
    $ot_module=DIR_FS_CATALOG_MODULES.'order_total/'."ot_reward_points_discount.php";
            if(
    file_exists($ot_module))
            {
                include(
    $ot_module);
                
    $module=new ot_reward_points_discount;
                
    $module->remove(); 
    I think is wrong as it should be ot_reward_points correct?

  5. #265
    Join Date
    Jan 2018
    Posts
    165
    Plugin Contributions
    4

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    Anyone have fix for One Page Checkout for this? Can someone explain why this code is needed? Since you can't enable both it seems on 1.5.5

    PHP Code:
    $ot_module=DIR_FS_CATALOG_MODULES.'order_total/'."ot_reward_points_discount.php";
            if(
    file_exists($ot_module))
            {
                include(
    $ot_module);
                
    $module=new ot_reward_points_discount;
                
    $module->remove();
            }
        } 

  6. #266
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    have you try this:
    #post1313855

    I do remember that something is mentioned on the One page checkout support thread
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  7. #267
    Join Date
    Jan 2018
    Posts
    165
    Plugin Contributions
    4

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    No I didn't try that but here is what I was told but don't know what to do with it:

    hanks I see that now; quick question it says to add this code in ot_reward_points.php after function collect_posts

    PHP Code:

    PHP Code:
    PHP Code:
    if (isset($_SESSION['redeem_flag']) && $_SESSION['redeem_flag']) 
                
    $_POST['redeem_flag'] = $_SESSION['redeem_flag']; 
    Here is the code in that function. Do I need to replace this code with one above? instead of request it's supposed to be session?

    PHP Code:
    PHP Code:
    function collect_posts()  
        { 
            if(
    $_REQUEST['redeem_checkout_flag']) 
             if((isset(
    $_REQUEST['redeem_flag']) && $_REQUEST['redeem_flag']) || (isset($_REQUEST['redeem_points']) && $_REQUEST['redeem_points']>0)) 
             { 
                
    $_SESSION['redeem_points']=$this->get_points_redeeming(); 
                
    $_SESSION['redeem_value']=$_SESSION['redeem_points']*GetRedeemRatio($_SESSION['customer_id']); 
             } 
             else 
              
    $this->clear_posts(); 
        } 

  8. #268
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    tmccaff what version of php are you testing this on? Should work on 7 as 1.5.5f is designed for 7 and PCI certified only on php7
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  9. #269
    Join Date
    Jan 2018
    Posts
    165
    Plugin Contributions
    4

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    @delia thanks for responding. PHP 7.1 to my understanding you need to change some of the code to work with one page but not sure how or where to change this.

    Also I think there is a bug if you enable rewards_points or rewards_points_discounts not both can be enabled just one. Not sure if that's a bug or what.

  10. #270
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    so you are not on php 7. Rats. Other than that bug, you have it working in zc 1.5.5?
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

 

 
Page 27 of 37 FirstFirst ... 172526272829 ... LastLast

Similar Threads

  1. First 1.0 Release of Reward Points module [Support Thread]
    By hem in forum All Other Contributions/Addons
    Replies: 38
    Last Post: 4 Apr 2013, 02:34 PM

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