aktivsport Posted August 11, 2013 Share Posted August 11, 2013 Hello, please, i want to call this url after customer places order http://www.heureka.s...xxxxxxxxxxxxxxx &[email protected]&produkt[]=nokia%206210&produkt[]=nokia%206310i&orderid=123456 where &email = email of customer &produkt = product that customer bought &orderid = increment of order id this url must be called automatically after customer places an order. Anyone knows how to make it? I have PS 1.5.4.1 Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2013 Share Posted August 11, 2013 check this thread: http://www.prestashop.com/forums/topic/250595-solved-affiliate-tracking-code/ Link to comment Share on other sites More sharing options...
aktivsport Posted August 11, 2013 Author Share Posted August 11, 2013 (edited) thanks vekia, i solved it by another way, just put code file_get_contents("http://www.heureka.sk/direct/dotaznik/objednavka.php?id=87465e4bde21286f3ab3d&email=".$this->context->customer->email.""); to classes/PaymentModule.php where is located automatic mailer with confirmation of order Edited August 11, 2013 by aktivsport (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2013 Share Posted August 11, 2013 nice tip, thanks for it I did not know that such a simple solution exists but i've got one question. You said that you want additional parameteres there. Unfortunately i don't see in your code any information about ID, product etc. how you solved it? Link to comment Share on other sites More sharing options...
aktivsport Posted August 11, 2013 Author Share Posted August 11, 2013 Yes, but only e-mail must be in code, other informations is not needed, but it will be better with it Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2013 Share Posted August 11, 2013 thanks for clarification im going to mark this topic as [solved] if you will have any other additional questions - feel free to continue discussion here or in the topic related to your question where the full solution is best regards Link to comment Share on other sites More sharing options...
Recommended Posts