Linnet Posted October 16, 2011 Share Posted October 16, 2011 I want to have a guest checkout as an only option to simplify my store as much as possible. Can I remove the option to register and create an account from the checkout page? It would be also nice if the contact information fields (name, address, e-mail, etc.) would show in the checkout page without needing to click the "check out as guest" button. I'm a beginner with Presta Shop so I appreciate clear instructions. Thank you! Link to comment Share on other sites More sharing options...
fratermagno Posted October 16, 2011 Share Posted October 16, 2011 Hi...i would need this option too! Link to comment Share on other sites More sharing options...
webbusiness23 Posted October 18, 2011 Share Posted October 18, 2011 You might want to try the module called "one page checkout". It might help you. Link to comment Share on other sites More sharing options...
muroxsm Posted October 20, 2011 Share Posted October 20, 2011 authentication.tpl modifies and deletes the reference fieldset register and login. With that gone. pardon my English is very bad 1 Link to comment Share on other sites More sharing options...
Linnet Posted October 21, 2011 Author Share Posted October 21, 2011 Hello, I tried out editing the authentication.tpl, but it didn't make any changes for me. Maybe it is because I have the one-page-checkout enabled. In /themes/mytheme/order-opc-new-account.tpl I was able to cancel out some lines to make the register and account sign in options invisble. So now I just have the link for "checkout as guest" left. I don't know how to skip the link but this is good enough. If someone knows how to skip the link then that would be great! Link to comment Share on other sites More sharing options...
Linnet Posted October 21, 2011 Author Share Posted October 21, 2011 Below is still what I cancelled out in the order-opc-new-account.tpl file. If I cancelled more, the page went crazy in Firefox browser. Now a little frame remains though and I don't know if this will look ok in all browsers. line 49: <h3 id="new_account_title">{l s='New Customer'}</h3> line 24: <form action="{$link->getPageLink('authentication.php', true)}?back=order-opc.php" method="post" id="login_form" class="std"> line 26: <h3>{l s='Already registered?'} <a href="#" id="openLoginFormBlock">{l s='Click here'}</a></h3> Link to comment Share on other sites More sharing options...
momnik Posted November 19, 2012 Share Posted November 19, 2012 Maybe somebody is still looking for it so... To enable guest account form without clicking a button "Checkout as guest" go to the 404 line in themes\default\js\order-opc.js there is: $('#opc_account_form').hide(); should be: $('#opc_account_form').show(); Now, you can remove the "Checkout as guest" button in order-opc-new-account.tpl 4 Link to comment Share on other sites More sharing options...
benjamin utterback Posted November 19, 2012 Share Posted November 19, 2012 Hello and welcome to the forums momnik! We appreciate having you here, and thank you for the tip, I hope this thread can help some users. Also, for which version did you use this code change? Link to comment Share on other sites More sharing options...
momnik Posted November 19, 2012 Share Posted November 19, 2012 My tip works for PS 1.5.2.0 1 Link to comment Share on other sites More sharing options...
Andreasjj Posted August 3, 2013 Share Posted August 3, 2013 Maybe somebody is still looking for it so... To enable guest account form without clicking a button "Checkout as guest" go to the 404 line in themes\default\js\order-opc.js there is: $('#opc_account_form').hide(); should be: $('#opc_account_form').show(); Now, you can remove the "Checkout as guest" button in order-opc-new-account.tpl I am using Prestashop 1.5.4.1 and it did not work any suggestions? Link to comment Share on other sites More sharing options...
Andreasjj Posted August 4, 2013 Share Posted August 4, 2013 Instead of showing the instant checkout (for quests who will not create an account), it now only shows guests who will create an account. Link to comment Share on other sites More sharing options...
vekia Posted August 4, 2013 Share Posted August 4, 2013 it's a bit old solution related to the prestashop 1.3 what ps version you're using? Link to comment Share on other sites More sharing options...
Andreasjj Posted August 4, 2013 Share Posted August 4, 2013 it's a bit old solution related to the prestashop 1.3 what ps version you're using? I am using PrestaShop 1.5.4.1 Link to comment Share on other sites More sharing options...
Andreasjj Posted August 4, 2013 Share Posted August 4, 2013 Bump Link to comment Share on other sites More sharing options...
sooroos Posted August 5, 2013 Share Posted August 5, 2013 Instead of showing the instant checkout (for quests who will not create an account), it now only shows guests who will create an account. you are right try to comment out lines from 429 till 453 inclusive so the code there will look like: /*/ GUEST CHECKOUT / NEW ACCOUNT MANAGEMENT */ if ((!isLogged) || (isGuest)) { if (guestCheckoutEnabled && !isLogged) { /* $('#opc_account_choice').show(); $('#opc_account_form, #opc_invoice_address').hide(); $('#opc_createAccount').click(function() { $('.is_customer_param').show(); $('#opc_account_form').slideDown('slow'); $('#is_new_customer').val('1'); $('#opc_account_choice, #opc_invoice_address').hide(); updateState(); updateNeedIDNumber(); updateZipCode(); }); $('#opc_guestCheckout').click(function() { $('.is_customer_param').hide(); $('#opc_account_form').slideDown('slow'); $('#is_new_customer').val('0'); $('#opc_account_choice, #opc_invoice_address').hide(); $('#new_account_title').html(txtInstantCheckout); updateState(); updateNeedIDNumber(); updateZipCode(); }); } else if (isGuest) { */ $('.is_customer_param').hide(); $('#opc_account_form').show('slow'); $('#is_new_customer').val('0'); $('#opc_account_choice, #opc_invoice_address').hide(); $('#new_account_title').html(txtInstantCheckout); updateState(); updateNeedIDNumber(); updateZipCode(); } else { $('#opc_account_choice').hide(); $('#is_new_customer').val('1'); $('.is_customer_param, #opc_account_form').show(); $('#opc_invoice_address').hide(); updateState(); updateNeedIDNumber(); updateZipCode(); } 1 Link to comment Share on other sites More sharing options...
Andreasjj Posted August 5, 2013 Share Posted August 5, 2013 Thank you so much! Now it works, and my shop is perfect Link to comment Share on other sites More sharing options...
sooroos Posted August 5, 2013 Share Posted August 5, 2013 you're welcome. glad to help 1 Link to comment Share on other sites More sharing options...
Luks123 Posted November 12, 2013 Share Posted November 12, 2013 (edited) i did this. Is possible to show "payment method" also if not confirm account data? Because this is just one more step. I have instant check out. another question. When i enable instant check out, i got this cart: where is the problem? thank you. Edited November 12, 2013 by Luks123 (see edit history) Link to comment Share on other sites More sharing options...
techtech Posted January 14, 2014 Share Posted January 14, 2014 Note: Doing a search of indexed files on an operating system makes finding and removing things inside web files easy. For commenting out undesirable things in .tpl files like "order-opc-new-account.tpl" use {* ...*} for commenting out things. Not /* ...*/. Take a look at these files when trying things out: authentication.tpl authentication-choice.tpl order-opc-new-account.tpl Link to comment Share on other sites More sharing options...
MacMaster Posted October 3, 2014 Share Posted October 3, 2014 We are running PS 1.4.8 and the above works splendid as long as js is running. However, lately due to mobile devises etc we see increasing traffic with js disabled. With js disabled PS by default jumps to "guests who will create an account" instead of desired "guest checkout without account". Any ides on how to get directly to "guest checkout without account" even with js disabled in web browser. Thanks in advance 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