Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30
  1. #11
    Join Date
    Apr 2007
    Posts
    14
    Plugin Contributions
    0

    Default Re: Mystery Sidebox Invisible Prior to Login

    Invisible or not, this "works a treat" as the Brits say. TY! Now how do I add it to the catalog pull-down in Admin so that I can easily update products ala "specials"?

  2. #12
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Mystery Sidebox Invisible Prior to Login

    Quote Originally Posted by samadhi View Post
    I'd like to configure a sidebox which is activated by user login in a effort to encourage registration. Any insight would be most appreciated!
    Quote Originally Posted by samadhi View Post
    Now how do I add it to the catalog pull-down in Admin so that I can easily update products ala "specials"?
    I think it would help if you were to explain what exactly you are wanting to accomplish ...
    There might be built-in features already established that might do what you want just by flipping a switch.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #13
    Join Date
    Apr 2007
    Posts
    14
    Plugin Contributions
    0

    Default Re: Mystery Sidebox Invisible Prior to Login

    The purpose is to encourage users to register (and login) in order to access member's only offers. Incidentally, this doesn't have to be a sidebox. Surprised I couldn't find any info on this. Thanks, Doc!

  4. #14
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Mystery Sidebox Invisible Prior to Login

    You can set up the store so that it requires customers to log in before they can see prices. You can further restrict it so they have to log in before they can even browse what's *in* the store.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #15
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Mystery Sidebox Invisible Prior to Login

    Quote Originally Posted by samadhi View Post
    Now how do I add it to the catalog pull-down in Admin so that I can easily update products ala "specials"?
    What exactly do you mean by this?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #16
    Join Date
    Apr 2007
    Posts
    14
    Plugin Contributions
    0

    Default Re: Mystery Sidebox Invisible Prior to Login

    Quote Originally Posted by DrByte View Post
    You can set up the store so that it requires customers to log in before they can see prices. You can further restrict it so they have to log in before they can even browse what's *in* the store.
    Yes, but what I'd like to do is incorporate a special access-restricted area (rather than the entire site) for member's only.

  7. #17
    Join Date
    Apr 2007
    Posts
    14
    Plugin Contributions
    0

    Default Re: Mystery Sidebox Invisible Prior to Login

    Btw, no fee to join. Membership via normal registration grants access.
    Last edited by samadhi; 28 Apr 2007 at 11:18 PM.

  8. #18
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Mystery Sidebox Invisible Prior to Login

    What will be in this "restricted area"?

    Zen Cart doesn't currently offer category-specific or product-specific security restrictions.
    Was there some other sort of content you were planning to limit access to?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #19
    Join Date
    Apr 2007
    Posts
    14
    Plugin Contributions
    0

    Default Re: Mystery Sidebox Invisible Prior to Login

    Perhaps I can approach this another way. I'd like to offer 2 or 3 products which will change on a monthly basis exclusively to logged-in users. Is it possible to put a login restriction on the existing "specials" sidebox? IOW, it doesn't appear unless user is registered and logged-in. Thanks for your help!

  10. #20
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Mystery Sidebox Invisible Prior to Login

    Quote Originally Posted by Get Em Fast View Post
    Oops, already updated! Use this one instead!!
    If you want this sidebox to show up only after someone has logged in

    change mystery_box.php as follows.

    Code:
     $show_mystery_box = false;
     
    if ($_SESSION['customer_id']) { 
    $show_mystery_box = true;
    }
    
      if ($show_mystery_box == true) {
        require($template->get_template_dir('tpl_mystery_box.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_mystery_box.php');
    
    // if no active banner in the specified banner group then the box will not show
    // uses banners in the defined group $banner_box_group
    //    if ($banner->RecordCount() > 0) {
    
          $title =  'Mystery Box';
          $title_link = false;
          require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
    }
    This triggers the box to show only after login.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Second mystery sidebox
    By SRHEdD in forum Addon Sideboxes
    Replies: 1
    Last Post: 28 Sep 2011, 03:48 PM
  2. Force registration/login prior to adding to cart
    By JayMot in forum Managing Customers and Orders
    Replies: 10
    Last Post: 30 Dec 2010, 10:02 AM
  3. Login form : Invisible telephone field
    By Artoo in forum General Questions
    Replies: 5
    Last Post: 15 Jul 2010, 03:10 PM
  4. Banner sidebox image is invisible
    By Chuckmiester in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 May 2010, 04:38 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