Jump to content

How to change payment method based on selected shipping method by the customer


rpethiyagoda

Recommended Posts

prestashop does not support this out of the box.  you could try searching for a module that might do this, but most likely you will need to create a solution your self.

most people alter that payment modules, so that the payment module shows/hides itself based on the selected carrier.

Link to comment
Share on other sites

  • 5 years later...
15 hours ago, auroncaos said:

hello there, sorry for reopen this old topics, can anyone give me a suggestion to create this function on 1.6 prestashop? I need to "hide" some payments methods if a specific carrier is selected. 

Still being on a shop version of 1.6 you need to give us more details.

Theme, Modules on payment methods

Edited by Nickz (see edit history)
Link to comment
Share on other sites

18 minutes ago, Nickz said:

Still being on a shop version of 1.6 ypu need to give more details.

Theme, Modules on payment methods

I have the 1.6 version, with a custome theme (ps_glori) 
 

I have 2 kind of shipping method: 

  • pay for delivery at home (9.5 dollars)
  • no pay for getting in the store (0.00 dollars)
  • add to future orders 

then in the hook payments module I have:

  • bankwire (module)
  • paypal (module)
  • pay later (module "custome payment method)

I need pay later to appear only for "add to future orders" and bankwire and paypal for the other 2 kinds of carrier.

I guess I need to edit displayPayment.tpl or ps_checkout.php ?

Thanks for your help 

 

Edited by auroncaos (see edit history)
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...