I want to remove the password field from the e-commerce module but I not sure where they are being generated. Can anyone help? I am aware the user can type in anything but they cause confusion in the order process where I don't need it.
Look in OrderForm.php, make username and password feilds hidden and set a random password. Do auto login. But you may want to disable the account page that lists users editable details. Check if user exists and get passowd if user exists.
This is just a quick work around. May want to think about how to make it secure without user login.
Thanks Neonfrog. That worked well. I had already removed the account access as I say, these are really anonymous sales of services.Tell me if I have missed something but if they don't need to log in to the account section there is no real need to collect passwords?
You aren't actually doing an anonymous purchase - you are creating the a/c without the user having to put in a username and password.
The danger here is that the same customer, coming back to purchase again will be unable to complete the process as their username (email) already exists, but they don't know this/don't have a password etc.
I haven't tested this, but I am pretty sure that is how it works.