Jump to content

Order - > Order Messages


Recommended Posts

Go to the Orders tab, select an order, then under "New message" at the bottom, click "Click here to add a comment or send a message to the customer". You can then choose the order message you created in the dropdown. You can use the "Display to consumer" option to choose whether the message should be sent to the customer or just displayed as an order comment for you.

Link to comment
Share on other sites

Ah, wonderful!
Indeed, I can see the messages now I made.

But testing it, I receive messages with only the 'logo.jpg' without any text.... ;- /
An empty e-mail.
Should I configure anyting else to make this work properly ??

Thnx in advance for answering.

Jan

Link to comment
Share on other sites

Make sure that order_merchant_comment.txt and order_merchant_comment.html exist in the mails directory for your language. If you are using an old language pack, they might be missing. If they are, you'll need to copy them from another language and translate them manually.

Link to comment
Share on other sites

Works beautifully now!
Your clearly an expert on the matter... I expected these messages also got visible in the 'my-account' - department
under 'notifications'.

It doesn't it seems.

Do you know what's the source of that part of 'my-account' ?

J.

Link to comment
Share on other sites

The order comments are displayed on the order under My Account > Order History. The My Account > Notifications section is used to display which out-of-stock products the customer has subscribed to receive a notification when it comes back in stock. The customer can unsubscribe from their notifications from this page.

Link to comment
Share on other sites

  • 3 months later...

Hi. Sorry to drag up an old thread.

In the "new message" part, I want to put down some notes regarding the order without sending it to the customer. I've chosen the NO radio button, but after I typed the message the only thing I can click on is SEND. Should I use that to save the message or will that send it to the customer regardless of the NO radio I picked?

Link to comment
Share on other sites

If you've chosen "No", then the message won't be sent to the customer. It will only be displayed on the order page. If you want to be sure, you can create a test customer and order and try adding a private message to see whether an email is sent.

Link to comment
Share on other sites

If you've chosen "No", then the message won't be sent to the customer. It will only be displayed on the order page. If you want to be sure, you can create a test customer and order and try adding a private message to see whether an email is sent.


Great! And duh, of course I could try to do that with my test account, why didn't I think of that? XD

Thanks for the quick reply!
Link to comment
Share on other sites

  • 1 month later...
Ah, wonderful!
Indeed, I can see the messages now I made.

But testing it, I receive messages with only the 'logo.jpg' without any text.... ;- /
An empty e-mail.
Should I configure anyting else to make this work properly ??

Thnx in advance for answering.

Jan


halo,

just check the adminorders.php ,see the line.163..check in $varsTpl that your {message} variable is there or not,


$varsTpl = array('{lastname}' => $customer->lastname, '{firstname}' => $customer->firstname,'{id_order}' => $message->id_order, '{message}' => (Configuration::get('PS_MAIL_TYPE') == 2 ? $message->message : nl2br2($message->message)));
if (Mail::Send(intval($order->id_lang), 'order_merchant_comment', $title, $varsTpl, $customer->email, $customer->firstname.' '.$customer->lastname))
Link to comment
Share on other sites

  • 2 months later...

Friends

I've got the same issue on Presta 1.323... Only the logo appears, no text.
That piece of code is correct on my AdminOrders.php file:

$varsTpl = array('{lastname}' => $customer->lastname, '{firstname}' => $customer->firstname, '{id_order}' => $message->id_order, '{message}' => (Configuration::get('PS_MAIL_TYPE') == 2 ? $message->message : nl2br2($message->message)));
if (Mail::Send(intval($order->id_lang), 'order_merchant_comment', $title, $varsTpl, $customer->email, $customer->firstname.' '.$customer->lastname))


Anybody got that working? How?

[EDITED]

SOLVED

Found a problem on the e-mail tamplate.

Thanks

DGV

Link to comment
Share on other sites

  • 5 months later...

Hi,
One more question on the subject...
The shop sends automatic orders correctly, but when I try to send messages from the order page, on my test account I only get the logo and empty text.
I have the mentiond files on my language folder.


The test messages I have tried to send appear with text in the order history, but only blank emails are sent.
i have tried everything but no luck.

A silly question, where can i find the adminorders.php file? I am using PS1.4

Link to comment
Share on other sites

  • 1 year later...

Sorry to bump old topic,

 

Where can we edit the source, so we can input special character and html.

We already try edit the core in classes/Message.php

Also in:

 

(admin)/tabs/AdminOrderMessage.php

(admin)/tabs/AdminMessages.php

 

But no luck. Confusing in validating.

 

Anybody please help?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...