Page 18 of 37 FirstFirst ... 8161718192028 ... LastLast
Results 171 to 180 of 362
  1. #171
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,549
    Plugin Contributions
    28

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

    Quote Originally Posted by mesnitu View Post
    Well, I don't have this working either but in a different situation: the reward points given to the customer on registration do not pass to earn after the first purchase.

    But in your case, have your try to change Reward Point Status Track from simple to advanced, and applied the earning at the pending state ?
    Thanks for the suggestion. I had tried that without success. This is a 1.5.4 store, FYI. I ended up modifying the plugin code to get the points 'earned'.

  2. #172
    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

    Quote Originally Posted by jeking View Post
    Thanks for the suggestion. I had tried that without success. This is a 1.5.4 store, FYI. I ended up modifying the plugin code to get the points 'earned'.
    Cool !
    I end up changing the code also to transfer the points added on new account on the first purchase...since it was not processing this stuff....
    Haven't check the sunrise period, but anyway I'm not using that either.
    So on rewards admin extra functions I've changed this function... not sure if it's the best way, the smarter way, or if the script does this, but I can't find that piece of code anywere:

    This is not entirely tested, got to go and watch the game against Croatia, but perhaps someone has a better idea...or something.

    About the javascript in zc155, there are places where nothing works, others were it's ok.


    PHP Code:
    function TransferCustomerPointsFromPending($order_id)
    {
        global 
    $messageStack$db;

        if((
    $record=GetLastRewardPointHistoryRecord($order_id)) && $record->fields['status']==STATUS_PENDING)
        {
             
            
    $customer_id=$record->fields['customers_id'];
            
    $reward_points=$record->fields['reward_points'];
            
    $pending_points=-$reward_points;
            
            
    UpdateCustomerRewardPoints($customer_id,$reward_points,$pending_points);
            
    UpdateRewardPointHistoryRecord($customer_id,$order_id,$reward_points,STATUS_PROCESSED);
            
            
    $customer_pending_points GetCustomersPendingPoints($customer_id);

            if ( (
    $customer_pending_points) == abs(REWARD_POINTS_NEW_ACCOUNT_REWARD) ) {
            
              
    $sql=$db->Execute("SELECT * FROM ".TABLE_REWARD_STATUS_TRACK." WHERE customers_id=".(int)$customer_id." and status =1");
              if (
    $sql->RecordCount() >= ) {
                  
    $updpoints $reward_points $customer_pending_points;
                  
    $sql=$db->Execute("UPDATE ".TABLE_REWARD_CUSTOMER_POINTS." SET pending_points=0 ,reward_points=".$updpoints." WHERE customers_id=".(int)$customer_id." ");
                 
              }
            }     
        }
        else
         if(!
    $record)
          
    $messageStack->add_session(WARNING_MISSING_RECORD.' '.$order_id'warning');

    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  3. #173
    Join Date
    Feb 2011
    Posts
    33
    Plugin Contributions
    0

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

    I must be the first one to use this Reward Points Full Suite v2.5 with ZC 1.5.5.a ? I don't find in any forums where anyone else is having this problem. When I change the screen to mobile mode, the Reward Points box which is normally set to be displayed in left-hand column stretches across the top of the entire screen, rather than disappearing as the other sideboxes do. I think I understand the problem ... the responsive_default.css controls displaying the sideboxes:

    /* side-boxes */
    /* ADD { display:none;visibility:hidden; } to Hide Side-Box */
    /* LEAVE BLANK { } to Show Side-Box */
    div#documentcategories {display:none;visibility:hidden;}
    div#categories {display:none;visibility:hidden;}
    div#whatsnew {display:none;visibility:hidden;}
    div#manufacturers {display:none;visibility:hidden;}
    div#reviews {display:none;visibility:hidden;}
    div#featured {display:none;visibility:hidden;}
    div#information {display:none;visibility:hidden;}
    div#moreinformation {display:none;visibility:hidden;}

    Since reward points box is a plug-in, the standard css file doesn't handle it. So I figured all I had to do was add the equivalent statement for the Reward Points box. But here is where I am puzzled ... I did a search for moreinformation in the entire structure of my installation and no where do I find the term moreinformation. So I don't understand how this works, and of course I don't know what term to add to the css file for the Reward Points box. Can someone help me ? Thanks.

  4. #174
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,549
    Plugin Contributions
    28

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

    Quote Originally Posted by wonged View Post
    I must be the first one to use this Reward Points Full Suite v2.5 with ZC 1.5.5.a ? I don't find in any forums where anyone else is having this problem. When I change the screen to mobile mode, the Reward Points box which is normally set to be displayed in left-hand column stretches across the top of the entire screen, rather than disappearing as the other sideboxes do. I think I understand the problem ... the responsive_default.css controls displaying the sideboxes:

    /* side-boxes */
    /* ADD { display:none;visibility:hidden; } to Hide Side-Box */
    /* LEAVE BLANK { } to Show Side-Box */
    div#documentcategories {display:none;visibility:hidden;}
    div#categories {display:none;visibility:hidden;}
    div#whatsnew {display:none;visibility:hidden;}
    div#manufacturers {display:none;visibility:hidden;}
    div#reviews {display:none;visibility:hidden;}
    div#featured {display:none;visibility:hidden;}
    div#information {display:none;visibility:hidden;}
    div#moreinformation {display:none;visibility:hidden;}

    Since reward points box is a plug-in, the standard css file doesn't handle it. So I figured all I had to do was add the equivalent statement for the Reward Points box. But here is where I am puzzled ... I did a search for moreinformation in the entire structure of my installation and no where do I find the term moreinformation. So I don't understand how this works, and of course I don't know what term to add to the css file for the Reward Points box. Can someone help me ? Thanks.
    I have this on two 1.5.5 carts, but not sure if we have the sidebox enabled. Can you share your site url?

  5. #175
    Join Date
    Feb 2011
    Posts
    33
    Plugin Contributions
    0

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

    Quote Originally Posted by jeking View Post
    I have this on two 1.5.5 carts, but not sure if we have the sidebox enabled. Can you share your site url?
    Here is the link for the test site I am working on.
    http://www.gottahaveitnwi.com/shop_155/
    When there, if you click the link to view in Mobile mode, or just shrink the width of the browser window, you will see the Reward Points box spread across the upper part of the window.

  6. #176
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,549
    Plugin Contributions
    28

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

    Under Tools>Layout Box Controller
    what do you have for Single Column Status for the rewards points box?

    My guess is ON. Try setting it to OFF.

  7. #177
    Join Date
    Feb 2011
    Posts
    33
    Plugin Contributions
    0

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

    Quote Originally Posted by jeking View Post
    Under Tools>Layout Box Controller
    what do you have for Single Column Status for the rewards points box?

    My guess is ON. Try setting it to OFF.
    Sorry to disappoint but that was too obvious
    Here is how the Reward Points box is set:
    Box Details:
    Box Name: reward_points.php
    Left/Right Column Status: ON
    Location: (Single Column ignores this setting) LEFT
    Left/Right Column Sort Order: 75
    Single Column Sort Order: 0
    Single Column Status: OFF

  8. #178
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,549
    Plugin Contributions
    28

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

    Quote Originally Posted by wonged View Post
    Sorry to disappoint but that was too obvious
    Here is how the Reward Points box is set:
    Box Details:
    Box Name: reward_points.php
    Left/Right Column Status: ON
    Location: (Single Column ignores this setting) LEFT
    Left/Right Column Sort Order: 75
    Single Column Sort Order: 0
    Single Column Status: OFF
    I always start with the most obvious things. But had I read your first post closer, I would known the answer right way.

    add:
    div#rewardpointsHeading {display:none;visibility:hidden;}
    right below
    div#moreinformation {display:none;visibility:hidden;}

    in your responsive_default.css mentioned above.

  9. #179
    Join Date
    Feb 2011
    Posts
    33
    Plugin Contributions
    0

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

    Quote Originally Posted by jeking View Post
    I always start with the most obvious things. But had I read your first post closer, I would known the answer right way.

    add:
    div#rewardpointsHeading {display:none;visibility:hidden;}
    right below
    div#moreinformation {display:none;visibility:hidden;}

    in your responsive_default.css mentioned above.
    Well, that didn't change anything, but since the other sideboxes didn't have Heading after them, I tried
    div#rewardpoints {display:none;visibility:hidden;}
    and that worked for when I shrink the browser window, but still see it when I click for mobile mode.
    Also if I log-in, my shopping cart with reward points shows-up in the center now. Looks like I have to play more with the three responsive_xxx.css files. Seems like the trick is knowing what term to use for those two "custom" boxes

  10. #180
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,549
    Plugin Contributions
    28

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

    Quote Originally Posted by wonged View Post
    Well, that didn't change anything, but since the other sideboxes didn't have Heading after them, I tried
    div#rewardpoints {display:none;visibility:hidden;}
    and that worked for when I shrink the browser window, but still see it when I click for mobile mode.
    Also if I log-in, my shopping cart with reward points shows-up in the center now. Looks like I have to play more with the three responsive_xxx.css files. Seems like the trick is knowing what term to use for those two "custom" boxes
    Yes, div#rewardpoints. You will need to follow the lead of the other sideboxes for your template when it comes to the responsive display as this box is not part of the default installation.

 

 
Page 18 of 37 FirstFirst ... 8161718192028 ... 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