Jump to content

e-mail and id_oder - name of variable how to give it to another script?


perfumis.pl

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...