Results 1 to 3 of 3
  1. #1
    Join Date
    May 2009
    Posts
    103
    Plugin Contributions
    0

    Default ez pages vs must-login-to-browse

    Hello

    I have setting

    Customer Shop Status - View Shop and Prices 1
    Customer Approval Status - Authorization Pending 1

    in v1.5.4

    Ez pages shows only on login. But I wanted to show the ez pages with out login.
    can anyhelp give me a hint?

    thanks

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

    Default Re: ez pages vs must-login-to-browse

    You can edit /includes/init_includes/init_customers_auth.php

    In v155 it's around line 101:
    Code:
    case (in_array($_GET['main_page'], array(FILENAME_LOGOFF, FILENAME_PRIVACY, FILENAME_PASSWORD_FORGOTTEN, FILENAME_CONTACT_US, FILENAME_CONDITIONS, FILENAME_SHIPPING, FILENAME_EZPAGES, FILENAME_UNSUBSCRIBE))):
        // on special pages, allow customers to access regardless of store mode or cust auth mode
      break;
    This will NOT display "links to ez-pages. But if a customer has access to links some other way, it will take them to that page without requiring login.
    .

    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. #3
    Join Date
    May 2009
    Posts
    103
    Plugin Contributions
    0

    Default Re: ez pages vs must-login-to-browse

    Thank you !

 

 

Similar Threads

  1. must log in to browse hides EZ-Pages...
    By Alogon in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 20 Mar 2011, 05:57 AM
  2. Customer shop status: must login to browse
    By red hot in forum Basic Configuration
    Replies: 4
    Last Post: 15 Jul 2008, 07:58 PM
  3. must login to browse and login page bug?
    By sydmich in forum General Questions
    Replies: 7
    Last Post: 12 Nov 2007, 11:20 PM
  4. 1.3.7 Must login to browse don't work
    By arodrpin in forum Bug Reports
    Replies: 5
    Last Post: 4 Jun 2007, 07:04 PM
  5. Must login to browse No longer exists
    By jaxbakers in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 18 Jul 2006, 06:10 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