Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to disable post code


Deivydask

Recommended Posts

I have edited create_account.php and deleted post code lines from that file. But when registering new account, I got error "enter post code". I know why I get this error, so I want to know how to make post code unnecessary?

Link to comment
Share on other sites

anyone?

 

You will have to edit the code that checks for that. But why would you remove the Post code "zip code" any way I cant remember off hand but there is a fill in the includes folder that controlls that information. I know becuase I needed to make minor changes to it that could not be done from the controll panel. I could get back to you on that.

Link to comment
Share on other sites

In the admin area you can set the minimum length to zero.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

That will make the minimum length zero so it does not need to be entered.

 

Try making it a hdden field, that might do it.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...