News:

AbanteCart v1.4.2 is released.

Main Menu
support

Get An Order Information in SMS

Started by aiswarjya, April 23, 2016, 05:08:00 PM

Previous topic - Next topic

aiswarjya

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

eCommerce Core

Sending IM for new order is handled in checkout/order model

storefront/model/checkout/order.php

Locate below code:


$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

oliver

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 ?

Forum Rules Code of conduct
AbanteCart.com 2010 -