Jump to content

1.5.3.1 BO Address Override for US Format


Rhapsody

Recommended Posts

I created an override for AdminAddressesController.php that updated the BO address display for US format. It reorders the fields in the order they are normally used in the US. It also adds a States field in the list. The override file is attached.

 

I'm looking for some help to enhance this override to do the following.

 

1. In the filter for the countries dropdown, only display the countries that are enabled (e.g. ps_country active = 1)

2. In the filter for the states, only display the states that are stored in the ps_address table

 

Can anyone help with these additions to the attached file?

AdminAddressesController.php

Edited by Rhapsody (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...