- Posts: 4
- Thank you received: 0
change order of fields on the registration form
14 years 3 weeks ago #69720
by peterhaze
change order of fields on the registration form was created by peterhaze
Hi I have an odd issue.
In the registration form, the order of the fields is: ...last name, address, post code, city...
I'd like to change that to ...last name, address, city, post code...
how would I do that?
thanks in advance!
In the registration form, the order of the fields is: ...last name, address, post code, city...
I'd like to change that to ...last name, address, city, post code...
how would I do that?
thanks in advance!
Please Log in or Create an account to join the conversation.
14 years 3 weeks ago #69788
by Xavier
Replied by Xavier on topic Re: change order of fields on the registration form
Hi peterhaze,
Go in HikaShop > Display > Custom fields, and change the order of your custom fields for the address fields.
Go in HikaShop > Display > Custom fields, and change the order of your custom fields for the address fields.
Please Log in or Create an account to join the conversation.
14 years 3 weeks ago #69846
by peterhaze
Replied by peterhaze on topic Re: change order of fields on the registration form
Hi Xavier,
thanks for the reply.
The fields in the registration form are not custom fields. They are the default fields for shop registration.
Here's the code of custom_fields. What would I have to do here in order to put post code after city?
thanks for the reply.
The fields in the registration form are not custom fields. They are the default fields for shop registration.
Here's the code of custom_fields. What would I have to do here in order to put post code after city?
Code:
<?php
$type = $this->type;
foreach($this->extraFields[$type] as $fieldName => $oneExtraField) {
?>
<tr class="hikashop_registration_<?php echo $fieldName;?>_line" id="hikashop_<?php echo $type.'_'.$oneExtraField->field_namekey; ?>">
<td class="key">
<?php echo $this->fieldsClass->getFieldName($oneExtraField);?>
</td>
<td>
<?php $onWhat='onchange'; if($oneExtraField->field_type=='radio') $onWhat='onclick';
echo $this->fieldsClass->display($oneExtraField,$this->$type->$fieldName,'data['.$type.']['.$fieldName.']',false,' '.$onWhat.'="hikashopToggleFields(this.value,\''.$fieldName.'\',\''.$type.'\',0);"'); ?>
</td>
</tr>
<?php } ?>
Please Log in or Create an account to join the conversation.
14 years 3 weeks ago #69849
by Xavier
Replied by Xavier on topic Re: change order of fields on the registration form
The fields for the registration form are custom fields, created by default in HikaShop.
You just have to change the order of them and don't forget to save by clicking on the icon next to the "order" column title.
You just have to change the order of them and don't forget to save by clicking on the icon next to the "order" column title.
Please Log in or Create an account to join the conversation.
14 years 3 weeks ago #69853
by peterhaze
Replied by peterhaze on topic Re: change order of fields on the registration form
seems i was looking in the wrong area. thanks for your help!!
Please Log in or Create an account to join the conversation.
Time to create page: 0.106 seconds