sylver Posted October 26, 2009 Share Posted October 26, 2009 Hi,Can someone enlighten me on how to skip those 3 steps , so that when a customer clicks CHECKOUT, (and presumably he/she's logged in), they'll see the CONFIRMATION page right away?Provided that user has already filled in the Delivery Address upon registration, and my store only have 1 carrier with 1 payment option (COD).This would really helps speed up the checkout process.Thanks Link to comment Share on other sites More sharing options...
fs_xyz Posted October 27, 2009 Share Posted October 27, 2009 Make sure he/she log in 1st and your carrier setting don't have anything wrong... otherwise this won't work.Root folder/order.php line 85 :case 1displayPayment(); ( remove displayAddress() )Still in the same file, search for function displayPayment().Search this line :$smarty->display(_PS_THEME_DIR_.'order-payment.tpl');replace it with : $smarty->display(_PS_MODULE_DIR_.'cashondelivery/'.'validation.tpl');Open up your validation.tpl inside your cash on delivery module.Find this line :convertPrice price=$totalReplace it with :convertPrice price=$total_price ( yeah, just add word _price there... )Find this line :{$base_dir_ssl}order.php?step=Replace the number after step= with 0.For arranging looks so login/address/shipping become unclick able.Go into your themes folder, find order-steps.tpl.Add <!-- at beginning of line 13 and then add --> at the end of line 39Hope it help... Link to comment Share on other sites More sharing options...
sylver Posted October 29, 2009 Author Share Posted October 29, 2009 Hi, thanks for your reply.I tried you suggestion, but was still unable to do it.After my modifications, I test it out, and here's what I discovered:1) clicked on CHECKOUT button in cart ... page redirect to http://localhost/ps/order.php?step=1.'>http://localhost/ps/order.php?step=1. The center of this page is blank.2) I then change the url to http://localhost/ps/order.php?step=0, now i can see my Shopping Cart Summary, with Delivery Address and the next/previous button. The Order Steps near the top of the page only shows Summary and Payment.3) When I click NEXT, it goes back to http://localhost/ps/order.php?step=1I was hoping for a simpler solution (turn on/off address or the like), but was really greatful for your time and effort. Im on a tight timeline now, maybe when I have some spare time, I'll continue debugging this error. Thanks a ton Link to comment Share on other sites More sharing options...
fs_xyz Posted November 1, 2009 Share Posted November 1, 2009 I'm sorry for very late replay.... got stuck with high work hour.I think I misinform you about :$smarty->display(PS_MODULE_DIR.'cashondelivery/'.'validation.tpl');( this line is located in display payment function )Not PS_MODULE_DIR but _PS_MODULE_DIR_Please note the underscore placement.It should work and will bring you straight to cash on delivery module. Of course only if the user already log in before. Link to comment Share on other sites More sharing options...
Tine Chem Posted November 12, 2009 Share Posted November 12, 2009 Hi fs_xyz,I have a question for you. I saw that you are an expert for skipping steps in order process. Can you help me to modify my ordering process. I need someone to help me skip some oredering steps. below is explanation of my problem and the post with detailed info what I need.http://www.prestashop.com/forums/viewthread/33576/modules___development/modification_of_the_ordering_steps__skipping_one_ordering_step__need_helpThanks in advance for anyone who can help me with this one. Link to comment Share on other sites More sharing options...
Eugene Posted December 14, 2009 Share Posted December 14, 2009 Check the solution I've found. Maybe it will be useful for you as wellhttp://www.prestashop.com/forums/viewthread/32246/help_configuration___use/how_to_remove_shipping_address_and_skip_address_step_in_checkout/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now