Joke Collection Website - Public benefit messages - How to change SMS template in ecshop?

How to change SMS template in ecshop?

I know that I have seen such a problem in Baidu: how to modify the SMS template in ECSHOP template. Below, Shang Yi will talk about our own views.

Open the file: admin/order.php

general idea

Around 730

/* Send mail */

Around 750

replace

$ SMS-& gt; send($order[' mobile ']、sprintf($GLOBALS[' _ LANG '][' order _ shipped _ SMS '])、$order[' order _ sn '],

local _ date($ GLOBALS[' _ LANG '][' SMS _ time _ format ']),$order['shipping_name'],$order['invoice_no'],$GLOBALS['_CFG']['shop_name'],0);

Finally, change the language pack under $_LANG['order_shipped_sms'] to

$ _ lang ['order _ shipped _ SMS'] =' Dear %s, your order %s has been shipped in %s %s, and the express delivery number is% s [%s]';

affect

Dear Mr. Liu, your order 20 10020 186995 was delivered on February 2 14, and the local express number was 123222 [ECSHOP].