create custom e-mail

  • Posts: 223
  • Thank you received: 1
11 years 5 months ago #114552

using hikashop 2.1.3 business

if i have missed this, i'm sorry...

i want to create a custom e-mail that can be sent to customers to tell them their order has shipped. the text can always be the same, but i want to be able to add a tracking number, thought this could be done, but i don't see where or how to created this...

thanks

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

  • Posts: 83041
  • Thank you received: 13405
  • MODERATOR
11 years 5 months ago #114588

Hi,

By default, when you change the status of an order with the user notification activated, the "order status notification" email is sent.
So you can simply edit that email via the menu System>Emails to add the tracking number that you would enter in a custom order field before changing the status.

If the custom field is called "tracking", the code to add would be something like that:

<?php if(!empty($data->tracking)) echo 'Your tracking number is: '.$data->tracking; ?>

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

  • Posts: 223
  • Thank you received: 1
11 years 5 months ago #114742

thanks nicolas,

figured most of that out after i posted, but didn't have a chance to edit post...

didn't think/realize about the custom field, that will help, thanks...

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

Time to create page: 0.057 seconds
Powered by Kunena Forum