Forums / Customization from the Admin / Transmitting the order twice - Ready for sms

Transmitting the order twice - Ready for sms

Locked

Views: 1,280

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
23 Apr 2007, 6:40 AM
#1
rhys100 avatar

rhys100

New Zenner

Join Date:
Oct 2006
Posts:
48
Plugin Contributions:
0

Transmitting the order twice - Ready for sms

Hi, Just wandering if possible and where int the code and can anyone help me with the problem of mine.

I want Zencart to still email my orders to an email account but also email them to another account with a different email so it then can be handled by a email to sms site and transmitted to my phone. (http://www.mbox.com.au/sms-to-email.php)

I need a template like this to be sent to another email account:

Order Number: 11

Products: Violin Bow
Payment Method: Paypal
Telephone: 0342356
Total: $193.90

Would it be easist to add another section in the admin under email preferences say as "mobile email" and there i could add the second email for it to send this difference template to.

Thanks

Rhys Evans

23 Apr 2007, 9:35 AM
#2
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Transmitting the order twice - Ready for sms

There is an existing SMS module in the downloads section. That might make for the smoothest transition.

Good luck!

Tim

23 Apr 2007, 12:22 PM
#3
rhys100 avatar

rhys100

New Zenner

Join Date:
Oct 2006
Posts:
48
Plugin Contributions:
0

Re: Transmitting the order twice - Ready for sms

Hi, thanks its working good. I just need to add more code to get the other stuff to send as well.

The code atm is $email_text = $order->customer['firstname'] . " " . $order->customer['lastname'] . "\n" . $order->info['total'] . "\n";

If i want
Name: [First name] [last name]
Order Number: 11
Products: Violin Bow
Payment Method: Paypal
Telephone: 0342356
Total: $193.90

way would be the code then?

thanks

rhsy evans