Forums / All Other Contributions/Addons / Make a sale, get a text message

Make a sale, get a text message

Views: 59,723

Results 41 to 60 of 136
23 Mar 2007, 4:28 PM
#41
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Make a sale, get a text message

Did you by chance make the PayPal IPN change I recommended in the help? You will have to back this out too.

Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

23 Mar 2007, 5:13 PM
#42
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Re: Make a sale, get a text message

AP,
It sounds to me like you have multiple copies of the class file where it shouldn't be. All the error message is saying is that when it gets to load the class msg_owner, that class has already been declared. i.e. it already exists.
This means that you most likely have another copy of that file in your folders, and it is being auto loaded there.

Easiest way to check is to go to admin-tools-developer toolkit and search for msg_owner or similar, and see if it finds multiple copies.

Chuck

21 Apr 2007, 8:09 AM
#43
ladysaat avatar

ladysaat

Zen Follower

Join Date:
May 2006
Location:
Anywhere USMC points
Posts:
330
Plugin Contributions:
0

Re: Make a sale, get a text message

Hi Scott. I just installed the mod. However I cannot get the SQL to run in my zen cart. this is the error I get. I PM'd you as I didn't find this thread after searching twice. I have no clue why. But now that I found it, I'll post the error here too. Hopefully you can help, as I would really like to be able to use the function on/off from my admin!

error:

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true', 'false'), ', now())' at line 1
in:
[INSERT INTO HODLLC_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Send SMS Message when a sale is made', 'SMS_SEND_MESSAGE', 'true', 'Allows you to turn off the SMS Message on Sale contribution. This might be desirable at times where you know you will be close to a computer and these messages are redundant.', '12', '200', 'zen_cfg_select_option(array('true', 'false'), ', now());]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

edit: using zen 1.3.7

The ART of Zen ; man I wish I was an ARTIST!~!

Donate $5 a month, you spend more for NOTHING at McDonalds!

21 Apr 2007, 10:03 AM
#44
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: Make a sale, get a text message

Are you "copying and pasting" the text from the sql file and running it through Zen Admin? Try running it through phpMyAdmin.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

22 Apr 2007, 2:04 AM
#45
ladysaat avatar

ladysaat

Zen Follower

Join Date:
May 2006
Location:
Anywhere USMC points
Posts:
330
Plugin Contributions:
0

Re: Make a sale, get a text message

I opened it in Dreamweaver, selected all, copied, put it in ZenCart. Worked perfectly. Then a few minutes later, without thinking about it I created a test acount and test product and purchased it testing out my gateway. I kid you not, as fast as I hit submit.... i got a text message.

AWESOME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! THANK YOU

The ART of Zen ; man I wish I was an ARTIST!~!

Donate $5 a month, you spend more for NOTHING at McDonalds!

24 Apr 2007, 4:28 AM
#46
rhys100 avatar

rhys100

New Zenner

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

Re: Make a sale, get a text message

How do i chnage the output of the sms to the following output?

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

At the moment the code is: $email_text = $order->customer['firstname'] . " " . $order->customer['lastname'] . "\n" . $order->info['total'] . "\n";

wat do i need to add to get the output i want?

thanks

Rhys

24 Apr 2007, 11:20 AM
#47
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: Make a sale, get a text message

See your PM.

Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

27 Jul 2007, 9:42 PM
#48
stevekim avatar

stevekim

New Zenner

Join Date:
Apr 2007
Location:
Los Angeles, CA
Posts:
44
Plugin Contributions:
0

Re: Make a sale, get a text message

rhys100:

How do i chnage the output of the sms to the following output?

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

At the moment the code is: $email_text = $order->customer['firstname'] . " " . $order->customer['lastname'] . "\n" . $order->info['total'] . "\n";

wat do i need to add to get the output i want?

thanks

Rhys

Great Mod Scott!

I'm wondering how I should add order# and shipping weight (with the handling charge applied)?

Thanks,

SteveK

**www.ToolUSA.com** - Hand Tools for Jewelers, Crafters, Garden and Households. Also offers Safety Items and Scout Gadgets.
**www.OfficialCap.com** - MLB Licensed Caps by New Era and NFL Licensed Caps by Reebok.

27 Jul 2007, 11:11 PM
#49
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: Make a sale, get a text message

See your PM.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

17 Nov 2007, 9:33 PM
#50
solarflare avatar

solarflare

Zen Follower

Join Date:
Sep 2006
Posts:
81
Plugin Contributions:
0

Re: Make a sale, get a text message

I just installed this mod and I get this error:

Email Error: Could not instantiate mail function.

I do get regular emails from my cart about orders. Any ideas?

Personalized candy favors and gifts: http://www.westcoastfavors.com

The Sea Crew: http://www.theseacrew.com/shop/

17 Nov 2007, 10:30 PM
#51
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: Make a sale, get a text message

Haven't seen that before.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

18 Nov 2007, 11:26 AM
#52
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Re: Make a sale, get a text message

The error message means just what it says - Unable to talk to the mail function/mail server.
Translation - I am unable to connect to the specified method of sending mail, or, I can connect, but it is refusing the mail I am trying to send.

What email transport transport settings do you have on your site? I'd suggest you check with your hosting co. as to whether they block such SMS emails.

18 Nov 2007, 12:21 PM
#53
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: Make a sale, get a text message

He's able to send other emails, so it shouldn't be a transport settings issue.

Solarflare, as a test, please enter your SMS email address in one of the other email fields for Zen Cart, such as copy of order confirmation emails, and be sure that works. I have never heard of these emails being blocked, as Chuckl is suggesting, but perhaps this is happening. You're positive this email address works, right - have you tested it in a regular client to be sure you can get SMS notifications by email?

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

19 Nov 2007, 5:48 AM
#54
solarflare avatar

solarflare

Zen Follower

Join Date:
Sep 2006
Posts:
81
Plugin Contributions:
0

Re: Make a sale, get a text message

Yep, looks like it was my fault. I had a @@ in there instead of a single. Weird.

Thanks for your help! I'm checking out your other contributions, they seem very useful.

Personalized candy favors and gifts: http://www.westcoastfavors.com

The Sea Crew: http://www.theseacrew.com/shop/

19 Jan 2008, 1:24 AM
#55
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: Make a sale, get a text message

If you use the electronic assistant Sandy (iwantsandy.com), you can do things like ask Sandy to send you a reminder in a week to follow up with a customer using this mod. Detailed instructions are provided in the help page on my website. This is also an option for shopowners who do not have an email to SMS gateway but wish to receive SMS messages.

http://www.thatsoftwareguy.com/zencart_sms_on_sale.html

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

7 Feb 2008, 5:45 AM
#56
solarflare avatar

solarflare

Zen Follower

Join Date:
Sep 2006
Posts:
81
Plugin Contributions:
0

Re: Make a sale, get a text message

I just installed this on a 1.3.8 site, and it works great, but includes the Can-Spam footer that comes with 1.3.8 (Didn't see that in .7) and I'm not sure how to turn it off. It turns a short text into a longer 2 part one that I'm sure I'll get charged more for.

Any thoughts?

Personalized candy favors and gifts: http://www.westcoastfavors.com

The Sea Crew: http://www.theseacrew.com/shop/

7 Feb 2008, 11:17 AM
#57
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: Make a sale, get a text message

Thank you for reporting this. You have to modify a core file to resolve this; I'll post details on the extended help on my home page shortly.

Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

21 Feb 2008, 7:03 PM
#58
phil020782 avatar

phil020782

Zen Follower

Join Date:
Jul 2007
Posts:
158
Plugin Contributions:
0

Re: Make a sale, get a text message

Hi,
I've just installed this mod and placed a test order, I don't get sent a text message but if I check my phone email account it is there. I have probably made a silly mistake somewhere.

I am using paypal express checkout, do I still need to make the changes to the ipn handler file?

Another thought, when I edit the file class.msg_owner it says enter mobile number so just clarify do I use my actual mobile number (example 440123456789) or my phone email address (example [email protected])

22 Feb 2008, 2:07 AM
#59
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: Make a sale, get a text message

You enter your phone's email address. See step 3 in the instructions.

I don't know about express checkout. Please use the IPN instructions and let me know if this works.

Thanks,
Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

22 Feb 2008, 8:36 PM
#60
phil020782 avatar

phil020782

Zen Follower

Join Date:
Jul 2007
Posts:
158
Plugin Contributions:
0

Re: Make a sale, get a text message

I used my phone email address the email comes through but it does not get converted to a text message which means I have to manually check for new emails which defeats the point. Changing the IPN file made no difference.

If I provide the script with my phone email address how does it know to send me an sms and where does it get my number from to do this.