I'm using Civicrm 5.13.4 on Drupal 7.67.

I want to change the order of the address fields and bring "postal_code" upper in the list when using the "pay later option". I was able to find for online payment but not for this option. It's also already set in localization/address. Is there a way to modify this?

enter image description here

Thanks Guillaume


If you want a quick hack, you can change it in CRM/Core/Payment/Manual.php in the getBillingAddressFields() function. Just rearrange the order in the return statement.

To do it without a hack you might be able to use the buildForm hook in an extension. You could also move it with some jquery but that's also a bit of a hack.

  • Thank you Demerit, the quick hack was exactly what I needed – Guillaume Sorel May 31 '19 at 15:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.