Hi,
You'll have to edit the file "sub_block_login_registration.php" via the menu Display->Views and move the piece:
// Custom fields
$type = 'user';
if(!empty($this->extraFields[$type])) {
foreach($this->extraFields[$type] as $fieldName => $field) {
?>
<div class="hkform-group control-group hikashop_registration_<?php echo $fieldName;?>_line" id="hikashop_<?php echo $type . '_' . $this->step . '_' . $this->module_position . '_' . $field->field_namekey; ?>">
<?php
$classname = $labelcolumnclass.' hkcontrol-label';
echo $this->fieldsClass->getFieldName($field, true, $classname);
?>
<div class="<?php echo $inputcolumnclass;?>">
<?php
$onWhat = ($field->field_type == 'radio') ? 'onclick' : 'onchange';
echo $this->fieldsClass->display(
$field,
@$this->$type->$fieldName,
'data['.$type.']['.$fieldName.']',
false,
' class="hkform-control" '.$onWhat.'="hikashopToggleFields(this.value,\''.$fieldName.'\',\''.$type . '_' . $this->step . '_' . $this->module_position.'\',0,\'hikashop_\');"',
false,
$this->extraFields[$type],
@$this->$type,
false
);
?>
</div>
</div>
<?php
}
}
after the piece:
if(!empty($this->options['address_on_registration']) && !empty($this->extraFields['address'])) {
$type = 'address';
?>
<div class="">
<legend><?php echo JText::_( 'ADDRESS_INFORMATION' ); ?></legend>
</div>
<?php
foreach($this->extraFields[$type] as $fieldName => $oneExtraField) {
// $oneExtraField->registration_page = @$this->registration_page;
?>
<div class="hkform-group control-group hikashop_registration_<?php echo $fieldName;?>_line" id="hikashop_<?php echo $type . '_' . $this->step . '_' . $this->module_position . '_' . $oneExtraField->field_namekey; ?>">
<?php
$classname = $labelcolumnclass.' hkcontrol-label';
// if($oneExtraField->field_required)
// $classname .= ' required';
echo $this->fieldsClass->getFieldName($oneExtraField, true, $classname);
?>
<div class="<?php echo $inputcolumnclass;?>">
<?php
$onWhat = ($oneExtraField->field_type == 'radio') ? 'onclick' : 'onchange';
echo $this->fieldsClass->display(
$oneExtraField,
@$this->$type->$fieldName,
'data['.$type.']['.$fieldName.']',
false,
'class="hkform-control" '.$onWhat.'="window.hikashop.toggleField(this.value,\''.$fieldName.'\',\''.$type . '_' . $this->step . '_' . $this->module_position.'\',0,\'hikashop_\');"',
false,
$this->extraFields[$type],
@$this->$type,
false
);
?>
</div>
</div>
<?php
}
if(!empty($this->options['same_address'])) {
?>
<div class="hkform-group control-group hikashop_registration_same_address_line" id="hikashop_address_<?php echo $this->step . '_' . $this->module_position . '_same_address'; ?>">
<div class="<?php echo $labelcolumnclass;?> hkcontrol-label"></div>
<div class="<?php echo $inputcolumnclass;?>">
<input class="hikashop_checkout_same_address_checkbox" id="hikashop_address_<?php echo $this->step . '_' . $this->module_position . '_same_address_input'; ?>" type="checkbox" name="data[same_address]" value="1"/>
<label for="hikashop_address_<?php echo $this->step . '_' . $this->module_position . '_same_address_input'; ?>"><?php echo JText::_('SAME_FOR_SHIPPING'); ?></label>
</div>
</div>
<?php
}
}