rmalutan Posted May 12, 2014 Share Posted May 12, 2014 Hi! I want to modify a page from a Prestashop site in such way that when you click a button a Java Script page to open and in the JAva Script page another button to take me back where the initial click was supose to go. Anyone can help? Thx Link to comment Share on other sites More sharing options...
vekia Posted May 12, 2014 Share Posted May 12, 2014 hello you've got this script already? or just wondering how to create it? Link to comment Share on other sites More sharing options...
rmalutan Posted May 12, 2014 Author Share Posted May 12, 2014 Yes, I have the script. Is about a virtual keyboard. And when you click the button "Place my order" I want that Java script page to open and the user should do a supplementary check through the virtual keyboard (username and password), and then he should continue to Order Confirmation page. Link to comment Share on other sites More sharing options...
rmalutan Posted May 13, 2014 Author Share Posted May 13, 2014 hello you've got this script already? or just wondering how to create it? Yes, I have the script. Is about a virtual keyboard. And when you click the button "Place my order" I want that Java script page to open and the user should do a supplementary check through the virtual keyboard (username and password), and then he should continue to Order Confirmation page. Link to comment Share on other sites More sharing options...
vekia Posted May 13, 2014 Share Posted May 13, 2014 so, how you're including this script to particular <input> fields ? there is some code that you have to create in addition to original script? Link to comment Share on other sites More sharing options...
rmalutan Posted May 13, 2014 Author Share Posted May 13, 2014 so, how you're including this script to particular <input> fields ? there is some code that you have to create in addition to original script? Hi there. I attached a scenario in order to explain what I want to do. Hope it will be explicit. Link to comment Share on other sites More sharing options...
vekia Posted May 13, 2014 Share Posted May 13, 2014 this feature needs a lot of customization in order process functions i just thought that you want something other. javascript is not enough, you will have to use some ajax queries in background to get it to work with login and password stored in prestashop database. Link to comment Share on other sites More sharing options...
rmalutan Posted May 14, 2014 Author Share Posted May 14, 2014 this feature needs a lot of customization in order process functions i just thought that you want something other. javascript is not enough, you will have to use some ajax queries in background to get it to work with login and password stored in prestashop database. Ok. I what I need is something more simpler. The usernames and passwords are stored in the JS file. In fact this is just a test that I want to do, and maybe later to extended to the Prestashop database. Which are the files that should be modified so that when the Place my order button is clicked the html file to open. Thx. Link to comment Share on other sites More sharing options...
vekia Posted May 14, 2014 Share Posted May 14, 2014 in this case you have to edit payment modules for example bankwire module has got file: /views/templates/front/payment_execution.tpl there is code of button "I confirm my order" each payment module has got own page to confirm order. Link to comment Share on other sites More sharing options...
Recommended Posts