O'Reilly logo

Magento 1.4 Development Cookbook by Nurul Ferdous

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a custom "Twitter handle" field in a registration form

Magento came up with a simple account creation page, which sometimes is not enough for some shop owners who want some more user information. If we want to add a new registration field like user's Twitter ID or something like that, then we have no option in the admin panel to add such a field. We can do it by writing some code. It's easy!

In this recipe, we will add a new optional registration field for collecting user's Twitter handle, as nowadays people are crazy for the much-hyped Twitter. Furthermore, we can use Twitter for marketing and product analysis purposes.

Getting ready

Let's fire up our IDE and open the Magento project, where we will write some code for adding the Twitter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required