Hi Learner,
In regards to your question 2, if you would also like the SMS message to go to the customer... I have not tried that yet, but here is an idea:
First add some code to collect the customer's SMS address during checkout (i.e. cell phone number with carrier's sms domain). Assign this to the variable $customer_sms_email;
Next, look in
include/func/func.order.php and find the line were the Order Processed Email is sent to the customer:
Code:
func_send_mail($userinfo["email"], "mail/order_cust_processed_subj.tpl", $mail_body_template, $config["Company"]["orders_department"], false);
Then, just add the same SMS code to that section, as shown in my
Version 2 in Post #2 above, but modified for $customer_sms_email
Code:
$customer_sms_email = "10digitCellNumber@cingularme.com";
func_send_mail($customer_sms_email, "mail/order_notification_sms_subj.tpl", "mail/order_notification_sms.tpl", $config["Company"]["orders_department"], false);
As I said, I have not tried that version yet, so just do some testing on a test site until you getting working the way you want with some test orders.
Robert