change order status different mail

  • Posts: 155
  • Thank you received: 4
11 years 10 months ago #112087

Hallo.

I would like to send (changing the order status) different emails.

There are the email templates but there is no possibility to create new email templates and to connect them whith a order status.

for example:

when i change the order status to "shipped" i changed the email template to my needs.

i added a new status "received" where i would like to send an email , changing the status, asking them if all was ok and ask for feedback.

Now my question:

is it possibel to create a new email template in system -> email if yes how ?
is it possibel to connect this template to a specific order status.

Are you planning for the future to add the possibility to store the sended emails related to users and orders.

Thanks for reply

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

  • Posts: 83799
  • Thank you received: 13571
  • MODERATOR
11 years 10 months ago #112131

Hi,

It's possible to create new emails if you're a developer and connect them as you want via plugins.
If you're not a developer, it's not possible.

But you don't need to create new emails for that.
You can simply add some conditions in the current status notification email like that:
<?php if($data->order_status=='confirmed'){ echo 'blabla'; }
elseif($data->order_status=='shipped'){echo 'other text'; }

We don't plan on storing sent emails in the short term. But why not in the long term if there are other users asking for it.

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

  • Posts: 155
  • Thank you received: 4
11 years 10 months ago #112138

Thanks for your reply.

nicolas wrote:
We don't plan on storing sent emails in the short term. But why not in the long term if there are other users asking for it.


I asked for this because i found this very useful in the relationship with customers in virtuemart.. So you could see related of your user or order the related replys.

thanks

The following user(s) said Thank You: nicolas

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

Time to create page: 0.057 seconds
Powered by Kunena Forum