Order Notification Email

  • Posts: 964
  • Thank you received: 11
  • Hikashop Business
11 years 8 months ago #93735

I have the below in the ORDER NOTIFICATION EMAIL. When I checked the email it's blank. What did I do wrong?

I'm not very good with PHP so please bear with me. I was trying to insert the customer name and the tracking number that I added in the customers account.

<?php echo JText::sprintf('HI_CUSTOMER',@$data->customer->name);?>,

The tracking number has been added to your order no. <?php echo JText::sprintf($data->order_number);?> in your account.  Please login to your account to view the current status.

Thanks in advance!!

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

  • Posts: 13201
  • Thank you received: 2322
11 years 8 months ago #93885

Hi,

Try to set the error reporting level to "maximum" in the Joomla options.
And use this code:

<?php echo JText::sprintf('HI_CUSTOMER',@$data->customer->name);?>,
 
The tracking number has been added to your order no. <?php echo @$data->order_number;?> in your account.  Please login to your account to view the current status.

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

Time to create page: 0.065 seconds
Powered by Kunena Forum