Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Password protected section


Recommended Posts

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?


Link to comment
Share on other sites

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...