Zen Cart Logo
Forums / General Questions / State pulldown not populating in address book

State pulldown not populating in address book

Locked

Views: 1,454

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
3 Aug 2008, 6:04 AM
#1
edialedarb avatar

edialedarb

New Zenner

Join Date:
Aug 2008
Posts:
6
Plugin Contributions:
0

State pulldown not populating in address book

I am having trouble with the State pulldown menu just reverting to "Please Select .." when a customer goes into an address book to edit the info. Therefore if they happen not to notice this, the state is not saved and an alert message tells them to select a state. Not really a major issue, but a bit of a pain and not how it should work.

The other thing I noticed is that it is not storing anything in the entry_state field of the address_book table in the DB. It does store the entry_zone_id. I manually put in a state in the entry_state field through PHPmyAdmin and then updated the customer address book through my account in the store. It overwrote my manual addition to the entry_state with nothing.

Another thing I notice is that when you first go to edit the address book entry, the correct state appears in the pull down menu, it is not until the final moments of the page fully loading that the "Please Select .." is selected. So it is as if the pull down is operating correctly initially.

Can anyone please advise as to why this might be happening.

Version is 1.3.7 upgraded from an original 1.2.5 installation. It has had many many additions so we do not want to go with a full new install at the moment.

thanks.

3 Aug 2008, 6:32 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: State pulldown not populating in address book

edialedarb:

The other thing I noticed is that it is not storing anything in the entry_state field of the address_book table in the DB. It does store the entry_zone_id. I manually put in a state in the entry_state field through PHPmyAdmin and then updated the customer address book through my account in the store. It overwrote my manual addition to the entry_state with nothing.That is normal. If a zone exists for the selected state/province entry, only the zone number is stored.

edialedarb:

Can anyone please advise as to why this might be happening.

Version is 1.3.7 upgraded from an original 1.2.5 installation. It has had many many additions so we do not want to go with a full new install at the moment.
Your symptoms are classic of an incomplete upgrade. The most common mistake is to leave out the stylesheet entries:```
.hiddenField { display: none; }
.visibleField { display: inline; }

Usually switching to the Classic template will show things to operate normally, provided your custom template was built using overrides properly.

If switching to classic doesn't cause the page to work correctly, I recommend doing a fresh install of the new version in a separate test folder+database and see it operate correctly. Then work on addressing the differences between your template and the functioning one.