HeleneHH Posted July 6, 2009 Posted July 6, 2009 Hi How do I avoid to login when I use the create_account.php. I'm trying to make a homepage where my customers do not have to login.
♥geoffreywalton Posted July 6, 2009 Posted July 6, 2009 Try the contribution Purchase without account (PWA) 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 ======>>>>>.
HeleneHH Posted July 7, 2009 Author Posted July 7, 2009 Try the contribution Purchase without account (PWA) I'm not sure I know what you mean. Could you give me an example or somewhere to read?
multimixer Posted July 7, 2009 Posted July 7, 2009 There are different contributions that make it possible to people to buy without having an account. You can find them here. (Change the search keywords t what you are looking for exactly) An other option is to modify the "create_account.php" to ask just for the information you need from your customer. You could also "mask" the account creating process in that way, that it doesn't look like an account creation, you can say that you need just some customer info to make the shipment, or for a better customer service etc. It all depends on what you have in your mind to do My community profile | Template system for osCommerce - New: Responsive | Feedback channel
burt Posted July 7, 2009 Posted July 7, 2009 An other option is to modify the "create_account.php" to ask just for the information you need from your customer. You could also "mask" the account creating process in that way, that it doesn't look like an account creation, you can say that you need just some customer info to make the shipment, or for a better customer service etc. Is -very- good advice.
HeleneHH Posted July 7, 2009 Author Posted July 7, 2009 Is -very- good advice. I have tried to modify the create_account, but I do not know exactly what to change? Where does the login-process take place in that script?
burt Posted July 7, 2009 Posted July 7, 2009 For starters, make it so that instead of going to login when you press sheckout, it goes to create_account. THEN: You can turn some stuff off in the admin section of your shop (eg state, date of birth, gender) -easy Then you can change the languages to say "Where are we delivering" rather than "your details" -easy (below stuff is harder as involves code changes) Then you can do all sorts of other stuff if you wish, such as; - remove password (make one automatically and send by email) - remove newsletter subscription skip create_account_success !! pointless page skip checkout_success!! pointless page possible --> skip shipping page if you only offer 1 type of shipping? possible --> skip payment page if you only offer 1 type of payment? There's lot of things you can do without resorting to installing a flaky contribution that you don't really understand. making code changes yourself leads to greater understanding of how oscommerce hangs together. It's quite possible to make a really super checkout experience, but it all rather depends upon what information you need to gather and how many modules (payment/shipping) you are using. As well as how "savvy" your clients are.
multimixer Posted July 7, 2009 Posted July 7, 2009 I have tried to modify the create_account, but I do not know exactly what to change? First of all you need to be clear about what kind of info you need from your customer, at least you'll need a name and email. If you need to shp the goods you need an address etc Whats your idea about the whole checkout - account thing? How do you want it to be? My community profile | Template system for osCommerce - New: Responsive | Feedback channel
HeleneHH Posted July 7, 2009 Author Posted July 7, 2009 First of all you need to be clear about what kind of info you need from your customer, at least you'll need a name and email. If you need to shp the goods you need an address etc Whats your idea about the whole checkout - account thing? How do you want it to be? This is what I want my customer to do: shopping_cart --> create_account (at the moment I have removed the password and newsletter fields) -- no login --> checkout_payment --> checkout_confermation --> checkout success. During this I want to email the invoice to my customers email. The only hurdles I have at the moment, are that I can't make the step from create_account to checkout_payment without logging in and I do not know how to skip the checkout_shipping.
multimixer Posted July 7, 2009 Posted July 7, 2009 1)By default, the created_account.php links to a success page that is useless. You can change the link to lead to checkout_shipping.php. An other thing you need to do here probably, is not to write the customers into the database. If somebody wants to buy again (hopefully !), and his email is in the database, he will not be able to "register" again 2)About skipping the checkout_shipping, (if you have just one shipping option) there is a topic here. I didn't try it out, so I don't know if it works 3)The email is getting created in checkout_process.php and after the customer hit the button in checkout_confirmation.php, so, don't worry, your steps do not involve this Will be great to see this working after it is finished :) My community profile | Template system for osCommerce - New: Responsive | Feedback channel
HeleneHH Posted July 7, 2009 Author Posted July 7, 2009 1)By default, the created_account.php links to a success page that is useless. You can change the link to lead to checkout_shipping.php. An other thing you need to do here probably, is not to write the customers into the database. If somebody wants to buy again (hopefully !), and his email is in the database, he will not be able to "register" again2)About skipping the checkout_shipping, (if you have just one shipping option) there is a topic here. I didn't try it out, so I don't know if it works 3)The email is getting created in checkout_process.php and after the customer hit the button in checkout_confirmation.php, so, don't worry, your steps do not involve this Will be great to see this working after it is finished :) Hi George I have already changed the create_account_success to checkout_shipping. But I still get logged in?! I'm so glad for your advices :D I hope you have other ideas. Thank you.
multimixer Posted July 7, 2009 Posted July 7, 2009 In checkout_shipping.php, at the beginning, you will find this code // if the customer is not logged on, redirect them to the login page if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } If you change it to this /* if the customer is not logged on, redirect them to the login page if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } */ it will not request a login anymore. You will find the same thing in checkout_payment.php and checkout_confirmation.php But that means, then, that everybody will be able to go through the checkout without any information, so, how will you ship then? Maybe the better solution will be, to redirect the customer (if not "loged in" ---> without completing the create_account.php (he doesn't know that he create an account)) to the create account.php. I would do this in checkout_payment.php also possible at the very end in checkout_confirmation.php. The closer the client is to get his stuff, the more possible it is to fill out a form My community profile | Template system for osCommerce - New: Responsive | Feedback channel
Recommended Posts
Archived
This topic is now archived and is closed to further replies.