perfumis.pl Posted September 17, 2010 Share Posted September 17, 2010 HiI want to pass two variables: "e-mail" and "id_order" from one script (file oredr-confirmation.tpl) to another in another site.What is name of variable "e-mail" and "id_order"How to do it?Thank's Link to comment Share on other sites More sharing options...
121man Posted September 25, 2010 Share Posted September 25, 2010 I'm trying to do the same, have you had any luck by any chance ?Thanks Link to comment Share on other sites More sharing options...
perfumis.pl Posted September 29, 2010 Author Share Posted September 29, 2010 Just do it:-) /*$smarty->assign(array( 'HOOK_ORDER_CONFIRMATION' => Hook::orderConfirmation(intval($id_order)), 'HOOK_PAYMENT_RETURN' => Hook::paymentReturn(intval($id_order), intval($id_module))));*/ $client = new Customer($order->id_customer); $smarty->assign(array( 'HOOK_ORDER_CONFIRMATION' => Hook::orderConfirmation(intval($id_order)), 'HOOK_PAYMENT_RETURN' => Hook::paymentReturn(intval($id_order), intval($id_module)), 'email' => $client->email, 'id_order' => $id_order)); $smarty->display(_PS_THEME_DIR_.'order-confirmation.tpl'); This is the file order-confirmation.php 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