Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Creating a new account problems


Name Name

Recommended Posts

When creating a new account at my store, I have a few problems. First of all, the registration insists to select a state. There's no need for that, because the store isn't selling to USA. I have translated it to province, but it still requires select So it's quite annoying for a customer to first write the province and then the page reloads and then you must select the thing you've just written and type in your password again. And second, if you're not using the default language of the page, which is finnish, and you just click the continue button, it will reload, and change the language to finnish.

So here's what I need to happen:

The registration must not ask to select state from the dropdown list.

 

The language shouldn't change when clicking the continue button.

 

If anyone can help, what files you need to see?

http://pastebin.com/C3J2Ug1c English.php lang file

http://pastebin.com/TQR5LC0W finnish.php lang file

http://pastebin.com/87ZMHVBF swedish.php lang file

Link to comment
Share on other sites

There is an add-on that asks for the country first, which then populates the list of provinces from which the customer can select.

 

You could set the country to Finland when the page is loaded.

 

Auto_State_Drop_Down add-on no 6304

 

You can also change this to

 

define('ENTRY_STATE_ERROR', 'Your State must contain a minimum of ' . ENTRY_STATE_MIN_LENGTH . ' characters.');

 

to

 

define('ENTRY_STATE_ERROR', 'Please select a Province.');

 

HTH

 

G

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

Okay.... now I have a MAJOR problem.

http://u31830.shellit.eu

The site didn't look like that 5 mins ago before I changed

define('ENTRY_STATE_ERROR', 'Your State must contain a minimum of ' . ENTRY_STATE_MIN_LENGTH . ' characters.');

to

define('ENTRY_STATE_ERROR', 'Please select a Province.')

I did this in all of the lang files. english.php, finnish.php, swedish.php, and uploaded. Then I saw what happened, and undoed the changes, but the chaos stays.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...