Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2010
    Location
    Rochester, New York
    Posts
    118
    Plugin Contributions
    0

    Default Reward Suite Problem with Sidebox

    Ok,

    So I have just installed the reward suite, but the problem is that I think I am having trouble with the text that appears in the side-boxes.

    Here is the code that must be edited:
    PHP Code:
    if($reward_points>0)
         
    $content.='<div class="cartBoxRewardPoints">'.(int)$reward_points.'&nbsp;'.REWARD_POINTS_IN_CART_TAG.'</div>';
        else
         
    $warning.=NO_REWARD_POINTS_IN_CART_TAG;
        
        if(isset(
    $_SESSION['customer_id']))
         
    $content.='<div class="cartBoxEarnedPoints">'.GetCustomersRewardPoints($_SESSION['customer_id']).'&nbsp;'.CUSTOMER_EARNED_POINT_TAG.'</div><div class="cartBoxPendingPoints">'.GetCustomersPendingPoints($_SESSION['customer_id']).'&nbsp;'.CUSTOMER_PENDING_POINT_TAG.'</div>';
        else
         
    $warning.=($warning?'<br />':'').CUSTOMER_NOT_LOGGED_IN_TAG;
         
        if(
    $warning)
         
    $content.='<div id="cartBoxEmpty">'.$warning.'</div>';
         
        
    $content.='</div>'
    ?> 
    My website is http://www.outplaypoker.com. You will see on the top left the rewards box that I am having problems with.

    Any Suggestions?

    Best Regards,
    Nick

  2. #2
    Join Date
    Jul 2010
    Location
    My heart will always be in the NorEast
    Posts
    106
    Plugin Contributions
    0

    Default Re: Reward Suite Problem with Sidebox

    thats going to be in your language file and you just need to define it

    for instance
    define('TEXT_GV_NAMES','Gift Certificates');

    in /includes/laguage/english.php

    and in your case
    define('CUSTOMER_NOT_LOGGED_IN_TAG','Log In to see rewards');

    The other route is
    http://www.zen-cart.com/forum/showth...428#post929428

    of course the best route would be to put the login button there if the person is not logged in, but at least that would get you going while im in my drunken state

  3. #3
    Join Date
    Apr 2010
    Location
    Rochester, New York
    Posts
    118
    Plugin Contributions
    0

    Default Re: Reward Suite Problem with Sidebox

    Ok,

    Well I renamed the folder and it worked out better.

    But now I would like to hyper link the login or register part that you see to the correct page.

    How would I go about doing this?

    Best Regards,
    Nick

  4. #4
    Join Date
    Jul 2010
    Location
    My heart will always be in the NorEast
    Posts
    106
    Plugin Contributions
    0

    Default Re: Reward Suite Problem with Sidebox

    It appears to be going to the correct place now.

 

 

Similar Threads

  1. Help with reward points full suite module
    By Jordin in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 4 Feb 2009, 10:23 PM
  2. Change site to suite multiple resolutions
    By welchyboy in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 20 Aug 2008, 04:38 PM
  3. Reward Point Full Suite - Help needed!!!
    By MoonCow in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 2 May 2008, 09:31 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
  •