osCommerce Espanol and Password problems…

Gerard asks;

1) I notice that during New Client Registration, the fields “Fax Number” contain my database name, and the “Password” field already contains a password – I don’t know which. How can I correct this problem?

This is a non-problem. I guess that you have asked your browser to “remember” some details – so all your browser is doing is adding incorrect details when you view that page. Anyone else will not see the same details.

2) In the Spanish “Bienvenido (Welcome) Email no client title “Señor” or “Señora” appears.
It also doesn’t differenciate between sex – The “Bienvenido” Email says for example: Estimado Larroza, For a woman that should be “Estimada” and of course in both cases the Señor or Señora should appear in the Email.

The way it is now it is very rude. Since my Website is mainly for Spanish speakers this is a major problem to me. Your advise would be greatly appreciated.

You will find this text in the file: /includes/languages/espanol/create_account.php – find:

[php]define(‘EMAIL_GREET_MR’, ‘Estimado ‘ . stripslashes($HTTP_POST_VARS[‘lastname’]) . ‘,’ . “\n\n”);
define(‘EMAIL_GREET_MS’, ‘Estimado ‘ . stripslashes($HTTP_POST_VARS[‘lastname’]) . ‘,’ . “\n\n”);
define(‘EMAIL_GREET_NONE’, ‘Estimado ‘ . stripslashes($HTTP_POST_VARS[‘firstname’]) . ‘,’ . “\n\n”);[/php]

and change them appropriately.

Easy as 123 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *