Magento: Restrict user registration by email domain
One of my clients has put up a new Magento store which is restricted to only a few businesses they deal with. To come around the problem of only allowing employees of these businesses to register i came up with the following solution. Only allow people who own an email with the business domain name to register. Now what i am doing is a little hack to the core files which is highly not recomended so i suggest copying all these files i edit to the code/local file and edit them there so as to not modify core files. firstly…