How to change the email template on order status

  • Posts: 75
  • Thank you received: 3
11 years 5 months ago #106886

Hallo.

Where is the file or how can i change the templates of the messages when i email the customer on order change.

I would like to add logo and change some colors and content.

How is it possibel to read the emails send in this way or how can i have a copy send to a specific email

Thanks

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

  • Posts: 2334
  • Thank you received: 403
11 years 5 months ago #106896

Hi there,

Theses features are available with the business version of Hikashop.
You can take a look at this on the demo website: demo.hikashop.com
About the copy, just check the different option in System>Configuration>Main>Emails

Last edit: 11 years 5 months ago by Eliot.

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

  • Posts: 75
  • Thank you received: 3
11 years 5 months ago #106913

Yes i know i'm using busines edition buyed with order S8G6G08 yesterday.

So could you please tell me where and how.

Thanks

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

  • Posts: 75
  • Thank you received: 3
11 years 5 months ago #106920

ok i find where it is --> system -->email

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

  • Posts: 75
  • Thank you received: 3
11 years 5 months ago #106921

but i don't know where to edit the different variables. For example i want to add some text on the shipped-status mail and add my logo on the mails.

Howto??

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #107028

The mails in question will be "order status notification", you can add you logo with a simple html tag to add the logo where you want.
It require some development knowledges.

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

  • Posts: 75
  • Thank you received: 3
11 years 5 months ago #107045

Thanks for reply.

I inserted the logo and until there all is ok.

I see you are calling the text relativ of the status with variables like

<?php echo JText::sprintf('DATE_ON_WEBSITE',hikashop_getDate(time(),'%Y-%m-%d %H:%M'),HIKASHOP_LIVE);?>
        </td>.
.
<?php
          $order_url = $data->order_url;
          $mail_status = $data->mail_status;
          $customer = $data->customer;
          $order_status = $data->order_status;
          $class = hikashop_get('class.order');
          $data = $class->get($data->order_id);
          $url = $data->order_number;
          $data->order_url = $order_url;
          $data->order_status = $order_status;
          $data->mail_status = $mail_status;
          $config =& hikashop_config();
          if($config->get('simplified_registration',0)!=2){
            $url = '<a href="'.$order_url.'">'. $url.'</a>';
          }

          $data->cart = $class->loadFullOrder($data->order_id,true,false);
          $data->cart->coupon = new stdClass();
          $price = new stdClass();
          $tax = $data->cart->order_subtotal - $data->cart->order_subtotal_no_vat + $data->order_discount_tax + $data->order_shipping_tax;
          $price->price_value = $data->order_full_price-$tax;
          $price->price_value_with_tax = $data->order_full_price;
          $data->cart->full_total = new stdClass;
          $data->cart->full_total->prices = array($price);
          $data->cart->coupon->discount_value =& $data->order_discount_price;
          $app=JFactory::getApplication();
          if($app->isAdmin()){
            $view = 'order';
          }else{
            $view = 'address';
          }
          $colspan = 4;

          echo JText::sprintf('HI_CUSTOMER',@$customer->name);?>
and so one.

Where can i edit these. For example i would like the text of the order changing to shipped from:

Ciao affe cognome,

Stato dell'ordine No. B2G9 è ora Spedito.

to

Ciao affe cognome,

Stato dell'ordine No. B2G9 è ora Spedito. Puoi controllare la tua spedizione qui


Which variable is calling the text and where are stored the text. Is there any file to edit like the language files??

Thanks for you reply

Last edit: 11 years 5 months ago by kubwit.

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

  • Posts: 2334
  • Thank you received: 403
11 years 5 months ago #107068

Hi there,

You just have to change the translation for ORDER_STATUS_CHANGED_TO.
You can find the language file in System>Configuration>Language.

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

  • Posts: 75
  • Thank you received: 3
11 years 5 months ago #107096

thanks for reply. this is not waht i meant.

I want to change the text like in attachment

Attachments:

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

  • Posts: 2334
  • Thank you received: 403
11 years 5 months ago #107103

Did you tried what I said? I think it's the right way to do it.

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

  • Posts: 75
  • Thank you received: 3
11 years 5 months ago #107110

yes and i didn't see the forest because there where too much trees covering my view. You're right. :blush:


SOLVED.

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

  • Posts: 2334
  • Thank you received: 403
11 years 5 months ago #107113

Glad to see you did it :)

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

Time to create page: 0.093 seconds
Powered by Kunena Forum