luvubeauty Posted May 28, 2009 Share Posted May 28, 2009 Hi all! I was wondering if anyone has heard of an add on that password protects sections of the store, where the admin would be in control of the password ect? I would like to add a wholesale section onto my live store and only have my wholesale customers have access but not my retail customers eg: I would provide them with the password. Anyone have any ideas? Thanks Quote Link to comment Share on other sites More sharing options...
luvubeauty Posted May 28, 2009 Author Share Posted May 28, 2009 actually the best way to say it is I want a category displayed that is password protected. I did find this through google, but I am not sure what she did lol. "I think I got it figured out. What I ended up doing was creating a category named "Wholesale". Then setting up a wholesale password string in languages/english.php. I changed includes/boxes/categories.php to only display the "Wholesale" category if the user's password matches the special wholesale password string I set up in english.php. I also had to bypass encryption of that particular password by modifying password_funcs.php and account_password.php. By using the password instead of user name for displaying the "Wholesale" category, any number of user accounts can access it if I just give them the preselected wholesale password. It may not be too elegant, but it was fairly simple and is working great." Can anyone suggest anything? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.