xxmayankxx Posted September 12, 2013 Share Posted September 12, 2013 Hello, I'm trying to use Prestashop's checkout form for a project. Here's the thing I am trying but not getting hang of it: Link: http://hdmc.in/checkout/cart.php?add&id_product=6 If we click on Guest Checkout, it gives us a form where we can fill the information, and then in the bottom it shows the paypal button. I want it to always show the form without clickin on "Guest Checkout" button, and always show paypal button on the bottom: I tried editing order-opc-new-account.tpl, but couldn't really get the hang of it. Can someone please help me? Thank you, Mayank Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted September 12, 2013 Share Posted September 12, 2013 (edited) back office >preferences>orders>enable guest checkout Edited September 12, 2013 by Jiten rash (see edit history) Link to comment Share on other sites More sharing options...
xxmayankxx Posted September 12, 2013 Author Share Posted September 12, 2013 Yes, I enabled it already.. but still the same.. Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted September 12, 2013 Share Posted September 12, 2013 ur site plz url can u share Link to comment Share on other sites More sharing options...
xxmayankxx Posted September 12, 2013 Author Share Posted September 12, 2013 Sure.. here it is. http://hdmc.in/checkout/cart.php?add&id_product=6 Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted September 12, 2013 Share Posted September 12, 2013 arre it has guest checkout option Link to comment Share on other sites More sharing options...
xxmayankxx Posted September 12, 2013 Author Share Posted September 12, 2013 Yes, i knw. My question is: I don't want that form to appear when someone clicks on "Guest Checkout". I want it to be visible always. Can you help me do that? Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted September 12, 2013 Share Posted September 12, 2013 (edited) sorry for late response i was off m 100% sure its default theme go to themes>default>order-opc-new-account.tpl open it fine <div id="opc_new_account-overlay" class="opc-overlay" style="display: none;"> <--change to dispaly block Edited September 12, 2013 by Jiten rash (see edit history) Link to comment Share on other sites More sharing options...
xxmayankxx Posted September 12, 2013 Author Share Posted September 12, 2013 It didn't work.. i even tried "opc_account_form" making Display:Block. That didn't work either. Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted September 13, 2013 Share Posted September 13, 2013 (edited) yeah got it and tested open themes/default/js order-opc.js make it show instead of hide see text marked red check here fast i need to diable it http://unitekhub.com/quick-order if (guestCheckoutEnabled && !isLogged) { $('#opc_account_choice').show(); $('#opc_account_form, #opc_invoice_address').show(); Edited September 13, 2013 by Jiten rash (see edit history) 1 Link to comment Share on other sites More sharing options...
jgullstr Posted September 13, 2013 Share Posted September 13, 2013 (edited) Hello, This post may help: You may need to (TEMPORARILY!!): - turn OFF your cache and - 'Template cache' set to "Recompile templates if the files have been updated" in Advanced Parameters->Performanceto see the changes. (Don't forget to turn cache back ON afterwards!) pascal Edited September 13, 2013 by jgullstr (see edit history) 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