Magento: Send confirmation email on new customer registration

Magento has the feature to verify the authenticity of newly registered customers before activating their account. When a user registers to your Magento shop, then he/she will get a confirmation email with a confirmation link. The customer’s account will be activated only after he/she clicks that confirmation link. By default this feature is not activated … Read more

Magento: Add new tab to Customer Account Section

Suppose, you have a custom Magento module and you wanted to add a custom tab to “Customer My Account” section, i.e. the frontend part displayed after customer login. Here is the solution:- Let’s suppose, your module’s name is Yourmodule. 1) Add these xml code in app/design/frontend/your_package/your_theme/layout/yourmodule.xml Note:- In default Magento settings, your_package = default & … Read more

Magento: Get Customer Attribute

This article contains code snippet to get customer attributes in Magento. Get Customer Collection $collection = Mage::getResourceModel('customer/customer_collection'); Get Customer’s Name in Customer Collection $collection = Mage::getResourceModel('customer/customer_collection') ->addNameToSelect(); Get Custom Attribute in Customer Collection $collection = Mage::getResourceModel('customer/customer_collection') ->addAttributeToFilter('your_attribute_code', array('notnull' => true)); Thanks.

Magento: Show Billing-Shipping Address in Customer Signup-Registration page

Here are some ways (2 ways below) to show customer address information in registration page. When you fill up the address fields and signup then both your billing and shipping addresses are filled up. Here is how to enable address fields in signup page:- 1) First way [EASY] – Open template/customer/form/register.phtml – Just above this … Read more