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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   1163 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