Hello everybody,
In the email sent after the order, how to add the client ID, same ID as in the database.
Thanks for help,
I found it.
We need to modify 3 files :
- catalog/controller/checkout_confirm.php to add the following :
- catalog/language/...your language.../controller/checkout_confirm.php: this is to add a label if needed
- catalog/template/...your template.../content/checkout_email.tpl, to add the following code :
Bye,
We need to modify 3 files :
- catalog/controller/checkout_confirm.php to add the following :
Code: Select all
$email->set('customer_id', $language->get('customer_id'));
$email->set('id', $customer->getId());
- catalog/language/...your language.../controller/checkout_confirm.php: this is to add a label if needed
Code: Select all
$_['customer_id'] = 'Client ID';
Code: Select all
<?php stdEcho($customer_id); ?>
<?php stdEcho($id); ?>
Who is online
Users browsing this forum: No registered users and 3 guests