Change the Email administrator

  • Posts: 10
  • Thank you received: 0
11 years 2 months ago #118519

I wan't 3 things to add in the administrator notification if someone place a order

Email: <?php echo $this->order->customer->user_email; ?>
Payment: ?
Status: ?

I don't now what the names of the fields are? (i only now the email)

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 2 months ago #118535

Hi,

I think that using this kind of code will probably do the job :

<?php 
echo 'Payment :'.$data->order_payment_method.'</br>';
echo 'Status : '.$data->mail_status.'</br>';
?>

Last edit: 11 years 2 months ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

  • Posts: 10
  • Thank you received: 0
11 years 2 months ago #118540

I mean the status of the order

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 2 months ago #118543

You should then use this code :

<?php echo 'Status : '.$data->order_status; ?>

Please Log in or Create an account to join the conversation.

  • Posts: 10
  • Thank you received: 0
11 years 2 months ago #118544

Thank you,

Please lock this post

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum