Pages

Monday 16 February 2015

Show Address Fields in Customer Registration - Magento

show address field in signup form magento

In order to show address fields in Magento customer registration forms you only need to enable the attribute 
setShowAddressField.

To do so either add the following in your template local.xml(/app/design/frontend/base/default/layout/local.xml):
1
2
3
4
5
6
<customer_account_create>
  <reference name="customer_form_register">  
    <action method="setShowAddressFields">
      <param>true</param></action>   
  </reference>
</customer_account_create>
As always, make sure to reload your cache afterwards.
This setting will enable to execution of
1
<?php if($this->getShowAddressFields()): ?>
in register.phtml (/app/design/frontend/base/default/template/customer/form/register.phtml).

Thursday 5 February 2015

Magento Backend Session time settings

Fixthemage



This is how to change the session timeout
System > Configuration > Admin > Security
Set your desired session timeout
Magento-session-settings 
 
 
Next we have to make sure the session cookie doesn’t expire.
System > Configuration > Web > Session Cookie Management
Set the Cookie Lifetime to a larger number.
Done!
 

Fix The Magento. All rights reserved. ©