November 4, 2012

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…

Continue Reading

Magento: Copy products to another magento via API script

One of my clients has a total of 3 magento installs running and every so often they need the same product from their main one to the other 2. I am not a big fan of the magento export import feature as it always has problems. So i put together this really quick and simple php script that uses the magento API to copy a product from one store to another. I thought someone else might like to look into it to get an idea of how the API can be used to do such things. it can be slow…

Continue Reading