Author Topic: [Fixed]Order Status Change Email  (Read 3213 times)

carbon

  • Beginner
  • *
  • Posts: 20
[Fixed]Order Status Change Email
« on: November 04, 2011, 02:38:20 am »
The Order Status Change Email to the customer and the store Admin uses the Order id not the order number (it calls it Order No) - this is confusing for the customer. How can I change it? Example below is for Order number eba214b2

Hi, Shop Customer
the Status of your Order No. 2 has been changed.

New Status is
____________________________________________________________
Confirmed

Also could the "Add Comment" comment be included in this email. We want to send tracking numbers when products are shipped.

MobiVM

  • Jr. Member
  • **
  • Posts: 267
    • Native Mobile Apps for VritueMart
Re: Order Status Change Email
« Reply #1 on: November 04, 2011, 13:22:15 pm »
Hello,

You need to change in below file.

administrator/components/com_virtuemart/views/orders/tmpl/mail_raw_uploader.php

Best Regards,
Trivedi kartik.
Native mobile Apps for VirtueMart! Visit http://www.ivmstore.com

carbon

  • Beginner
  • *
  • Posts: 20
Re: Order Status Change Email
« Reply #2 on: November 08, 2011, 05:09:36 am »
Thanks for the reply. Since I'm not a coder could someone please indicate the change that needs to be made. I've had a few goes with no success.
I would like it to show the Order Number, not the Order ID and the comments that were added in the admin.

MobiVM

  • Jr. Member
  • **
  • Posts: 267
    • Native Mobile Apps for VritueMart
Re: Order Status Change Email
« Reply #3 on: November 08, 2011, 07:09:35 am »
Hello,

You need to change in below file.

administrator/components/com_virtuemart/views/orders/tmpl/mail_raw_updorder.php

find below code:-

Quote
echo JText::sprintf('COM_VIRTUEMART_ORDER_STATUS_CHANGE_SEND_MSG_1', $this->order->virtuemart_order_id) . "\n"  . "\n";

and replace with

Quote
echo JText::sprintf('COM_VIRTUEMART_ORDER_STATUS_CHANGE_SEND_MSG_1', $this->orderdata['details']['BT']->order_number) . "\n"  . "\n";

Best Regards,
Trivedi kartik.
Native mobile Apps for VirtueMart! Visit http://www.ivmstore.com

alatak

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2047
    • alatak.net
Re: Order Status Change Email
« Reply #4 on: November 08, 2011, 18:10:38 pm »
Hi,

Fixed in revision 4617.
Txs for reporting