Jump to content

Always Show Guest Checkout Form & Paypal Button


xxmayankxx
 Share

Recommended Posts

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

Share this post


Link to post
Share on other sites

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 by Jiten rash (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

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->Performance

to see the changes.

(Don't forget to turn cache back ON afterwards!)

 

pascal

 
Edited by jgullstr (see edit history)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More