gamdev Posted September 21, 2016 Share Posted September 21, 2016 (edited) Hello everyone!! I would like to make a call to a script made for me when an order is placed How do I have to do? that file I have to make the call? My call: echo " < SCRIPT > window.location = ' $ url' ; < / SCRIPT >"; Thank you very much to all ^ __ ^ Edited September 21, 2016 by gamdev (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted September 22, 2016 Share Posted September 22, 2016 you want to redirect the customer to some other URL after the order is placed? So the customer will never see their order confirmation page? Link to comment Share on other sites More sharing options...
gamdev Posted September 23, 2016 Author Share Posted September 23, 2016 you want to redirect the customer to some other URL after the order is placed? So the customer will never see their order confirmation page? Yes, i want Link to comment Share on other sites More sharing options...
bellini13 Posted September 25, 2016 Share Posted September 25, 2016 add your code to your themes order-confirmation.tpl file. where is $url defined? Where exactly are you redirecting your customer to? Link to comment Share on other sites More sharing options...
selectshop.at Posted September 25, 2016 Share Posted September 25, 2016 The same answer yu still received in Portuguese Forum. Please avoid double posts. Thnx. https://www.prestashop.com/forums/topic/557238-fazer-uma-chamada-a-um-script-quando-uma-ordem-%C3%A9-feita/ I'm closing this question. You can discuss on link added. Link to comment Share on other sites More sharing options...
Recommended Posts