gpal Posted February 1, 2016 Share Posted February 1, 2016 After selecting any payment method on order page. I want to run a small php code so is there any way to perform an action after chosen any payment method. Link to comment Share on other sites More sharing options...
NemoPS Posted February 1, 2016 Share Posted February 1, 2016 Yes, if you modify the method, you can redirect the person at the page you need. I'd add a new controller ( http://nemops.com/creating-new-pages-in-prestashop/ ), then have the module's payment.tpl link to it when clicking, with {$link->getModuleLink('modulename', 'controllername')} 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