Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing 'State' field from Create account page


msaunders

Recommended Posts

There is a toggle for this in catalog/includes/application_top.php at about line 140 or so:

 

change it to

define('ACCOUNT_STATE', 'false');

 

Set this way, the system will use the state you have set as the local zone in Configuration -> My Store -> Zone.

Link to comment
Share on other sites

I just tried it my site, changed the define of ACCOUNT_STATE to false in catalog/includes/application_top.php, then went to the create account screen and it no longer displayed a State/Province entry item. (It did not, however, display my zone state as I believe the code is supposed to. But the state field was definitely gone.)

 

Are you sure you changed the file on your server? Did you use a text editor locally then upload, or edit online with the file manager tool?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...