Author Topic: Get An Order Information in SMS  (Read 3703 times)

Offline aiswarjya

  • Newbie
  • *
  • Posts: 39
  • Karma: +6/-0
    • View Profile
Get An Order Information in SMS
« on: April 23, 2016, 05:08:00 PM »
Hay Abantecart,
Thanks for adding SMS notification system. Its help me for Offline notification even if i am not in an Office.

But i need some more information on new order.

When an order is placed the notification show "Web Store Name:New Order #15 has been placed!".
But i want information like -

Order No:15;
Date:19/04/1016;
Time:10:02;
Name:Aiswarjya;
Contact:+12345765434;
email:qwerty@example.com
Address:Plot 13/2, Silver Easte;
Order:Benefit Bella Bamba  2 $28.00 $56.00;
Sub-Total:$56.00;
Flat Shipping Rate:$2.00;
Total:$58.00

(Address is shipping address only)
Please tell me were i can change the code so that i got full information of an order.

I Have also an Idea for feature development
================================
in the Notification settings  in New Order admin can select which information is getting by SMS Like,

----------------------------------------------
                            Run Order         Status
----------------------------------------------
Order No                     1                  ON
Date                            2                  ON
Time   
Name                          3                  ON
Contact                      4                  ON
email         
Address                     5                   ON
Order                         6                   ON
Total                          7                   ON

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Get An Order Information in SMS
« Reply #1 on: April 26, 2016, 08:24:22 AM »
Sending IM for new order is handled in checkout/order model

storefront/model/checkout/order.php

Locate below code:

Code: [Select]
$message_arr = array(
    1 => array('message' =>  sprintf($language->get('im_new_order_text_to_admin'),$order_id))
);
$this->im->send('new_order', $message_arr);

You can add your custom text into message array or edit im_new_order_text_to_admin language text
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline oliver

  • Jr. Member
  • **
  • Posts: 86
  • Karma: +7/-0
    • View Profile
Re: Get An Order Information in SMS
« Reply #2 on: June 30, 2016, 03:58:57 PM »
why you don't use the mail just connect your mobil phone with your mail account and you can see all the orders on your phone per mail ?

 

Powered by SMFPacks Social Login Mod