Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

How to change the order of the fields in the OrderFormAddress?


Go to End


2 Posts   1826 Views

Avatar
Vix

Community Member, 60 Posts

22 November 2013 at 4:03pm

I have an SS store set up (2.4.10) but I want to change the order of the fields in the form with the id #OrderFormAddress_OrderFormAddress (this is the form that you receive if you are not logged in and are in the process of checking out (step 2 of the checkout process)).

If anyone has any suggestions that would be great. I have looked through OrderFormAddress.php and OrderAddress.php but I am not sure how to go about changing it. At the moment the for asks for First Name, Surname and then prefix which seems a little illogical.

Thanks
Vic

Avatar
Vix

Community Member, 60 Posts

22 November 2013 at 7:41pm

Okay found it, it is in BillingAddress.php