Quote Originally Posted by tmt1630 View Post
I have picked up support of a Zencart site and am in the process of upgrading it from 1.3.8a to 1.5.1. The 1.5.1 store currently has Lightbox, Imagehandler and Multisite addons installed.

On the 1.3.8a site, it is able to force customers to log in before viewing items in the store. You can see it here --> http://b2b.essentialjourneys.com. With the same Zencart installation and using Multisite, it allows visitors to browse items at this address --> http://store.essentialjourneys.com without logging in.

I know I can force customer logins through the admin tool and setting the View Shop and Prices option. However, doing this on the 151 upgrade site causes both the store and b2b store fronts to force a login. How do I selectively force a login between store fronts (b2b -- yes to login; store -- no to login)?

Any help would be greatly appreciated!

Thanks!

Tom
In your config files for the sites (In the folder includes\config_sites\)

add:
PHP Code:
define('CUSTOMERS_APPROVAL''1'); 
or any value you need from tis choice
0= Not required
1= Must login to browse
2= May browse but no prices unless logged in
3= Showroom Only

This will override the default value in the database.
In your admin under tools=>Multisite tools you can find all the possible overrides.