Billing Address Layout

I am looking to change the layout of the billing address form as some of the fields are not relevant for Ireland.

If I edit out one of the obligatory fields (eg. [{ $oxcmp_user->oxuser__oxzip->value }] ) in the order.tpl what else would this affect?

Any help appreciated here.

Hi Sean,

If I edit out one of the obligatory fields (eg. [{ $oxcmp_user->oxuser__oxzip->value }] ) in the order.tpl what else would this affect?

The registration process would stop. First, ditch this field (oxaddress__oxzip) in admin -> core settings -> settings -> other settings -> Mandatory fields in User Registration Form.

Regards

Thanks Marco

That worked. However, editing out the field did not remove if from the form. What file do I need to change to alter the layout of the Billing Address form?

Hi Sean,

you probably simply forgot to clean up the /tmp/ folder, right? :slight_smile:

Regards

Yes Marco

I did forget to clean up tmp folder. :o

Have done it now and I’m afraid no change. I can see the field in the form.

I also want to edit the field titles and user input order.

Where can I do this?

Thanks

Hi Sean,

which place exactly do you mean? Maybe there are some places “affected”. I just tried it with register.tpl and it worked perfectly.
Field titles and user input order: In lang.php.

Regards

Ok

I’ll have a look at register.tpl and lang.php.

Thanks

Hi Marco

I have that working now. Thank you.

Can you point me to where I can implement the oxstate/province field. I want to try it for the counties in Ireland.