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

Make a sale, get a text message

Views: 59,723

Results 101 to 120 of 136
27 Feb 2010, 4:15 PM
#101
znrinarz avatar

znrinarz

New Zenner

Join Date:
Jun 2009
Posts:
27
Plugin Contributions:
0

Make a sale, get a text message

swguy:

It cannot be "configured" to do any of these things; you would have to write code to do it.

Great mod swguy!

I know Verizon will split text msgs if they contain too many characters so I don't see the length being an issue unless product names are lengthy.

Has anyone attempted to write code to include Product Name and Quantity Ordered in text message?

http://www.myrhinestonefx.com
Add sparkle to your life! -Swarovski Rhinestones

22 Mar 2010, 7:04 PM
#102
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

Users outside the US who don't have an email to text gateway might consider using Penny SMS.

https://www.pennysms.com/

There's an email integration and the price is very reasonable at $0.01.

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.

11 May 2010, 4:31 AM
#103
cycochuck avatar

cycochuck

New Zenner

Join Date:
Jan 2010
Posts:
42
Plugin Contributions:
0

Re: Make a sale, get a text message

I tried the CAN-SPAM fix you had listed on your FAQ, but it did not work and I'm getting two text messages because of it. Any idea why it is not working in 1.3.8a?

11 May 2010, 10:32 AM
#104
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

It does work in 1.3.8. You've done something wrong. (The difference between 1.3.8 and 1.3.8a is so small it's not worth mentioning. When people say 1.3.8 they mean 1.3.8a.)

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.

11 May 2010, 4:57 PM
#105
cycochuck avatar

cycochuck

New Zenner

Join Date:
Jan 2010
Posts:
42
Plugin Contributions:
0

Re: Make a sale, get a text message

swguy:

It does work in 1.3.8. You've done something wrong. (The difference between 1.3.8 and 1.3.8a is so small it's not worth mentioning. When people say 1.3.8 they mean 1.3.8a.)

I found the error. Seems to be messing up when the email part of stock by attributes runs in /includes/classes/order.php. Every time I mess with the CAN-SPAM part in any way I get a > PHP Warning: Invalid argument supplied for foreach() in /home/content/n/e/w/newtonmrktng/html/flavorwood_store/includes/classes/order.php on line 788
as a debug error. The line it refers to says ```
foreach($this->products[$i]['attributes'] as $attributes){



I don't have the time to play with code to make it all work together nicely so I'll just live with the two text messages until I get time.
11 May 2010, 5:09 PM
#106
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

I suspect you want to do something like

if (is_array($this->products[$i]['attributes'])) {

before the foreach loop.

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.

11 May 2010, 7:19 PM
#107
cycochuck avatar

cycochuck

New Zenner

Join Date:
Jan 2010
Posts:
42
Plugin Contributions:
0

Re: Make a sale, get a text message

swguy:

I suspect you want to do something like

if (is_array($this->products[$i]['attributes'])) {

before the foreach loop.

That solved my error problem, but didn't fix the CAN-SPAM issue. I can live with the two messages for now until I have time to look further into the problem. It might just fix itself when I start working on a test upgrade to 1.3.9b.

8 Jul 2010, 1:13 PM
#108
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Make a sale, get a text message

Scott - same issue here with 1.3.9d:

Applied the fix from your faq and that got sms on sale working again when an order via paypal is received. Also getting 2 messages with all the CAN-SPAM blah blah attached.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

28 Sep 2010, 7:44 PM
#109
smoke133 avatar

smoke133

Zen Follower

Join Date:
Jul 2007
Location:
Roseville, Michigan
Posts:
188
Plugin Contributions:
0

Re: Make a sale, get a text message

I loaded this on my site and made a test order. It sent a text message to my phone. The problem is that the order did not round up the taxes, so the order amount is saying that the was for 57.2258 instead of 57.23. The email that was sent to my email account was correct, it just shows up like that in my text message.

Zencart 1.3.9f

https://www.jhelectronics.com
Using Zencart 1.3.9h

28 Sep 2010, 11:18 PM
#110
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

Interesting, noone has ever reported this. To fix it, edit ./includes/classes/observers/class.msg_owner.php and change the last part of $email_text definition from using

  • $order->info['total'] . "\n";

to

  • round($order->info['total'], 2) . "\n";

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.

9 Nov 2010, 1:41 PM
#111
smoke133 avatar

smoke133

Zen Follower

Join Date:
Jul 2007
Location:
Roseville, Michigan
Posts:
188
Plugin Contributions:
0

Re: Make a sale, get a text message

Is there a way to have it so that who the message is from is from the same send every time is sends a sms to my phone? Right now, every time is sends a message, who it is from changes.

Example, one order says it is from 1410000022 and the next order will say it is from 1410000023.

I want to be able to add a contact into my phone so when I get a order it has a special tone for it. I can't do this if it keeps changing every time.

https://www.jhelectronics.com
Using Zencart 1.3.9h

9 Nov 2010, 2:12 PM
#112
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

The from address should be your store. Not sure why you're getting the order id as the from address.

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.

9 Nov 2010, 2:46 PM
#113
smoke133 avatar

smoke133

Zen Follower

Join Date:
Jul 2007
Location:
Roseville, Michigan
Posts:
188
Plugin Contributions:
0

Re: Make a sale, get a text message

swguy:

The from address should be your store. Not sure why you're getting the order id as the from address.

Inside the message itself it says it is from my store, but the phone is coming from is not and it is not my order number. I'm not sure what that number is, that's the number it tries to save when I try to add it to my contact list on my phone.

https://www.jhelectronics.com
Using Zencart 1.3.9h

9 Nov 2010, 3:06 PM
#114
smoke133 avatar

smoke133

Zen Follower

Join Date:
Jul 2007
Location:
Roseville, Michigan
Posts:
188
Plugin Contributions:
0

Re: Make a sale, get a text message

I think it might be At&t side. I tried sending a text message to my phone with my work email and it did the same.

swguy:

For those still without an SMS to Email Gateway, it looks like Google Voice (what used to be Grand Central) might be a good option. I will post instructions after they open it to the public.

Did you ever get this option working yet? This might be a better way to go to do what I want.

https://www.jhelectronics.com
Using Zencart 1.3.9h

6 Dec 2010, 8:08 PM
#115
cycochuck avatar

cycochuck

New Zenner

Join Date:
Jan 2010
Posts:
42
Plugin Contributions:
0

Re: Make a sale, get a text message

frank18:

Scott - same issue here with 1.3.9d:

Applied the fix from your faq and that got sms on sale working again when an order via paypal is received. Also getting 2 messages with all the CAN-SPAM blah blah attached.

Has anyone come up with a solution to the CAN-SPAM issue with the 1.3.9 line? I've been looking at it off and on for months and still can't get it to not send the CAN-SPAM garbage.

6 Dec 2010, 11:12 PM
#116
cycochuck avatar

cycochuck

New Zenner

Join Date:
Jan 2010
Posts:
42
Plugin Contributions:
0

Re: Make a sale, get a text message

cycochuck:

Has anyone come up with a solution to the CAN-SPAM issue with the 1.3.9 line? I've been looking at it off and on for months and still can't get it to not send the CAN-SPAM garbage.

Ok, got it working.:clap: All I had to do was re-enable logging.:blink: Don't know why it requires logging, but I can live with it.

7 Dec 2010, 2:02 AM
#117
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Make a sale, get a text message

cycochuck:

Ok, got it working.:clap: All I had to do was re-enable logging.:blink: Don't know why it requires logging, but I can live with it.

Are you referring to line 24 of the file includes/classes/observers/class.msg_owner.php where > "no_archive", may be changed to > "msg_owner", ?

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

7 Dec 2010, 7:59 AM
#118
cycochuck avatar

cycochuck

New Zenner

Join Date:
Jan 2010
Posts:
42
Plugin Contributions:
0

Re: Make a sale, get a text message

frank18:

Are you referring to line 24 of the file includes/classes/observers/class.msg_owner.php where may be changed to ?

Thats the one. Don't know why it fixed everything so I only get on message now but like I said, I can live with it.

7 Dec 2010, 8:03 AM
#119
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Make a sale, get a text message

cycochuck:

Thats the one. Don't know why it fixed everything so I only get on message now but like I said, I can live with it.

Thanks cycochuck - that will do me.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

7 Dec 2010, 11:31 AM
#120
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Make a sale, get a text message

I'm sorry to say: that did not fix it for me - the CAN-SPAM message still appears in the SMS :yuck: (just did a test order ...)

There's got to be a way to get rid of this as we are not even trying to send spam to anyone but only looking for a notification of a sale .... a simple msg to the shop owner (ourselves ..)

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.