Magento Tips: How To Create A Limited Access Wholesale Directory

Feb 21, 201356Aleksander Tretjak
Magento Tips: How To Create A Limited Access Wholesale Directory

In some cases it is necessary to create a wholesale directory on a website, which can be accessed by wholesale customers only, while all other users should not be able to access the directory. You can achieve this by using the observer controller_action_predispatch.

Partner With Us Let's discuss how to grow your business. Get a Free Quote.
Talk to Vlad

i.e. checking if the customer has logged in, and if not, he is redirected to the login page.

In the method we ignore the paths which do not need this functionality.

Private Site

Download Private Site from GitHub


Partner With Us Looking for a partner that will help you to grow your business? We are the right company to develop your webstore. Feel free to get in touch with us. We will be happy to discuss your business opportunities and provide you with a Free Quote. Talk to Vlad

Post a new comment

top
BelVG Newsletter
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
Email *