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
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
You can edit /includes/init_includes/init_customers_auth.php
In v155 it's around line 101: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.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;
.
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.
Thank you !
Bookmarks