maggitronic Posted July 30, 2003 Posted July 30, 2003 I installed Purchase Without Account v.0.56 and the updates and everything is working fine, but now I would love to just skip the "login.php" altogether and Proceed Directly to Checkout without the option of signing up for an account or signing in. I seem to be having a problem with this. Anyone have any advidce? Thanks so much, Maggie Quote
wizardsandwars Posted July 30, 2003 Posted July 30, 2003 How would you know how much to charge for shipping? Quote ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
maggitronic Posted July 30, 2003 Author Posted July 30, 2003 Hey Chris, Thanks for the reply. Maybe I need to clarify what I am trying to do. When a customer clicks "Checkout" I would like them to skip the page login.php which has the three options "I am a Returning Customer", "I am a New Customer", and "Proceed Directly to Checkout". I would like it to function as if it is assumed that they would like to "Proceed Directly to checkout" which then takes them to Order_Info.php to fill in their shipping info and continues on to checkout_shipping.php. I just can't seem to figure out how to make this change. Thanks, Maggie Quote
wizardsandwars Posted July 30, 2003 Posted July 30, 2003 Well, its not exactly cut and dry. While you don't need the "login or create an account' page necessarily, OSC does need the info created when creating an account before it can proceed to checkout because you need the shipping information to give a proper shipping quote. Anyways, here's a good place to start. Quote ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
wizardsandwars Posted July 30, 2003 Posted July 30, 2003 Quick trigger finger I have there, huh? Try this. http://www.oscommerce.com/forums/viewtopic.php...+login+routines Quote ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
Guest Posted July 30, 2003 Posted July 30, 2003 Try changing this: if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } to this: if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_CHECKOUT, '', 'SSL')); } in checkout_shipping.php. As always backup before you try. No testing has been done. Use at your own risk. Good luck, Matt Quote
maggitronic Posted July 30, 2003 Author Posted July 30, 2003 thanks so much, that did the trick! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.