msaunders Posted November 27, 2002 Posted November 27, 2002 HI Does anyone know how I can remove the 'State' text box from the create account page nuder the address entries. I only want to sell in one location, so I only want one state listed there. Thanks martin
zzfritz Posted November 27, 2002 Posted November 27, 2002 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.
msaunders Posted November 28, 2002 Author Posted November 28, 2002 Thanks I will give it a try later and verify thanks again martin
msaunders Posted November 28, 2002 Author Posted November 28, 2002 Hmm, That didnt seem to change anything Fritzz. nothing at all . The text box is still there for state?? any other clues ? thanks martin
zzfritz Posted November 29, 2002 Posted November 29, 2002 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?
msaunders Posted November 29, 2002 Author Posted November 29, 2002 Hi Yes definately changed it locally and then uploaded it . I tried the create account page and it was still looking for a State entry. I will have another look later on today. Thanks martin
msaunders Posted December 2, 2002 Author Posted December 2, 2002 Still havent got his resolved. Anyone got any more ideas? THanks martin
Recommended Posts
Archived
This topic is now archived and is closed to further replies.