Get Free Audit

Magento Tips: How To Create A Limited Access Wholesale Directory

Feb 21, 2013

410 Aleksander 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.

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


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.

Andrey Dubina
Partner With Us Looking for a partner to grow your business? We are the right company to bring your webstore to success. Talk to Andrey

Post a new comment

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