Jump to content

Skipping of payment method choice step - prestashop 1.5


Recommended Posts

Hello,

 

I have found few historic topics connected to this issue but noone was related to prestashop 1.5.

 

I have only one payment method in my shop (bankwire). So it does not make sence to let customer choose the payment method during order process.

 

Is there some way to skip the payment choise step in order process?

 

Thanks

 

Miklik

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
  • 3 months later...
  • 2 months later...

Hi, maybe only changing the css style for payment methods.

Change the text form bankwire or visa to > "Confirm order"

Change the bankwire image for an verified icon or something.

 

To do this edit modules/bankwire/views/templates/hook/payment.tpl 

or in the theme folder

yourtheme/modules/bankwire/payment.tpl

 

Or edit the translations for your language.

 

:)

Link to comment
Share on other sites

  • 4 months later...

Hi,

 

Took me a while but here it is - solution for cashondelivery module :)

 

In cashondelivery.php you need to change method hookPayment.

 

Change this:

if (!$this->active)
return ;
 
On this:
if (!$this->active)
return ;
Tools::redirectLink(_PS_BASE_URL_.'/module/cashondelivery/validation');
 
New code will enforce redirect to the next step when customer confirms that he really wants cash on delivery.
Link to comment
Share on other sites

 

Hi,

 

Took me a while but here it is - solution for cashondelivery module :)

 

In cashondelivery.php you need to change method hookPayment.

 

Change this:

if (!$this->active)
return ;
 
On this:
if (!$this->active)
return ;
Tools::redirectLink(_PS_BASE_URL_.'/module/cashondelivery/validation');
 
New code will enforce redirect to the next step when customer confirms that he really wants cash on delivery.

 

 

But then the customer still has to confirm? How can this "confirmation" step for payment be skipped i.e. the customer does not have to confirm or click anything for selecting a payment mode?

Link to comment
Share on other sites

Yes, customer still has to confirm. It is common sense and what I wanted to achieve. Otherwise following scenario would be in place:

 

1. Customer selects carrier

2. Order confirmation page is displayed

 

I understand that for some reason you want to have it this way but don't know how to do it. Probably some code from validation.php needs to be moved to cashondelivery.php. You need to tinker around :)

Link to comment
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
×
×
  • Create New...