It's very easy to active address field in registration page.
Just add an action tag in customer.xml:
Just add an action tag in customer.xml:
<customer_account_create translate="label">
<reference name="content">
<block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml">
<action method="setShowAddressFields"><value>true</value></action>
<block type="page/html_wrapper" name="customer.form.register.fields.before" as="form_fields_before" translate="label">
<label>Form Fields Before</label>
</block>
</block>
</reference>
</customer_account_create>
No comments:
Post a Comment