The following information will tell you how to allow anyone to view your ez-pages even when zen cart is set to "customer must be logged in to browse". This is an ideal solution for wholesale companies who need an informational website but only want vendors seeing their products and prices.
NOTE: I take no responsibility in any unintended side effects caused by making the following changes. Use this tip at your own risk.
First add the following line to /zencart/includes/filenames.php
define('FILENAME_PAGE', 'page');(save yourself some future headache and put it where it belongs, the file is in alpha order)
Next edit the following line in /zencart/includes/init_includes/init_customer_auth.php
if (!in_array($_GET['main_page'], array(FILENAME_LOGIN, FILENAME_LOGOFF, FILENAME_CREATE_ACCOUNT, FILENAME_PASSWORD_FORGOTTEN, FILENAME_CONTACT_US, FILENAME_PRIVACY))) {to say> if (!in_array($_GET['main_page'], array(FILENAME_LOGIN, FILENAME_LOGOFF, FILENAME_CREATE_ACCOUNT, FILENAME_PASSWORD_FORGOTTEN, FILENAME_CONTACT_US, FILENAME_PRIVACY, FILENAME_PAGE))) {
After making these changes you should be able to view your EZ-pages even when your cart is set to "customer must be logged in to browse"
Hope this helps someone.