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

Make a sale, get a text message

Views: 59,723

Results 81 to 100 of 136
17 Jul 2008, 2:23 PM
#81
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Make a sale, get a text message

I would like the format what others want,
By the way, thanks for a WONDERFUL module,

Order Received!
Order #xxx
Amt: $100 (or 100€, or whatever)
From: customer name
Payment Method:

10 Oct 2008, 6:54 PM
#82
high_octane avatar

high_octane

New Zenner

Join Date:
Jan 2006
Posts:
37
Plugin Contributions:
0

Re: Make a sale, get a text message

swguy,
I would also like to edit the fields like the example below.

Thanks
Steve

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

30 Nov 2008, 9:22 PM
#83
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're using SMS on Sale in conjunction with IWantSandy.com, please be advised that Values of N is closing in December and Sandy will go offline.

http://getsatisfaction.com/iwantsandy/topics/a_fork_in_the_road_an_important_announcement_about_i_want_sandy

Depending on where you live, you may still be able to use Twitter to deliver SMS messages if you don't have an email to SMS gateway.

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.

8 Feb 2009, 10:20 PM
#84
waytoolate avatar

waytoolate

New Zenner

Join Date:
Sep 2008
Location:
California
Posts:
40
Plugin Contributions:
0

Re: Make a sale, get a text message

Scott,
How can I further debug this mod?

  • I can receive text e-mails from my e-mail client - So I know my phone will receive SMS messages.
  • If I put my phone address into the Contact Us lists, I can send/receive those messages. So I know my e-mail/gateway is working.
  • However, I do not get notices when orders are placed.

Thanks for your help!
Jim

  • Jim
    ...seeking the vision to clearly see my goal - and the insight to navigate the path to get there... Ps.119:105
8 Feb 2009, 11:17 PM
#85
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 using Paypal IPN, and if so, have you made the required change? (See the page below.)
Otherwise, since you're in the US, you might try using Twitter to deliver text messages. Instructions are provided here:

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.

9 Feb 2009, 7:30 AM
#86
waytoolate avatar

waytoolate

New Zenner

Join Date:
Sep 2008
Location:
California
Posts:
40
Plugin Contributions:
0

Re: Make a sale, get a text message

Scott -
I don't know where I went wrong, but rest assured it is working now...

I restored everything to 'Before', then followed the steps again, from the beginning.

Evidently, I must have mis-edited something in one of the files...

But after re-doing it. IT WORKS!

Thanks!
Jim

  • Jim
    ...seeking the vision to clearly see my goal - and the insight to navigate the path to get there... Ps.119:105
9 Feb 2009, 11:16 AM
#87
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

Glad to hear it!

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.

12 Mar 2009, 11:11 AM
#88
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

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.

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.

31 Aug 2009, 6:43 PM
#89
james_link avatar

james_link

New Zenner

Join Date:
Nov 2008
Location:
Midwest USA
Posts:
8
Plugin Contributions:
0

Re: Make a sale, get a text message

This is a great mod Scott. Nice work.

So....
I'm looking for a solution that will notify 2 cell numbers:
I would like to add a 2nd cell number for the SMS alert.
Is it possible to have two cell numbers notified of a sale??
I'd like to simply edit the php file if possible.

Otherwise, what do you think about a possible work-around..
Maybe creating an email account for your SMS mod, then have that email forward the sales alert to the 2 cell numbers?

Your recommendation would be greatly appreciated.

-Jim

1 Sep 2009, 12:06 AM
#90
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

In class.msg_owner.php, the variable $owner_phone can be a comma separated list of email addresses. Or you can call zen_mail twice with a different 2nd argument the second time.

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 Sep 2009, 7:11 PM
#91
avantik avatar

avantik

New Zenner

Join Date:
Mar 2009
Location:
Miami - USA
Posts:
33
Plugin Contributions:
0

Re: Make a sale, get a text message

Hi Scott,
I've been using this module for a while (great stuff, btw), but all of a sudden it seemed to have stopped working.
The only change I made is enable Paypal Express Checkout.
I've read above that Paypal IPN would need a code change and I've applied just to see if it fixed the issue, but it has not.
I'm able to receive the messages if I send myself a copy of the regular email to the SMS gateway...so it does not seem to be the problem.
Has anybody else reported any issues with Paypal Express Checkout?
Thanks!

CJ

22 Sep 2009, 8:19 PM
#92
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 haven't heard this before, but it could be that noone has run Paypal EC with this mod before.

What may be happening is the notifier is not triggering like in IPN - please try this. Edit includes/modules/payment/paypalwpp.php
and look for

function terminateEC

after the globals, add the IPN code:

if ($goto_page == FILENAME_CHECKOUT_CONFIRMATION) {
require(DIR_WS_CLASSES . 'observers/class.msg_owner.php');
$mo = new msg_owner();
$mo->update($this, 'NOTIFY_CHECKOUT_PROCESS_AFTER_SEND_ORDER_EMAIL');
}

This is a guess! Please make a backup before you do this and test it carefully.

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 Sep 2009, 1:14 PM
#93
avantik avatar

avantik

New Zenner

Join Date:
Mar 2009
Location:
Miami - USA
Posts:
33
Plugin Contributions:
0

Re: Make a sale, get a text message

Hi Scott,
Thanks for the response. Unfortunately, it did not work :no:
One question, though:does this change only applies for when the customer actually use paypal as the payment method or just in general in order for th emodule to work? We realized the module wasn't working but customers have not used paypal as checkout method, but rather credit cards and cash/money order; money order was the method I used as well to test your suggestion...but again, I'm not sure if the changes you describe here and in your installation files have to be made regardless what method is actually chosen at checkout.
Does it make sense?

CJ

23 Sep 2009, 1:16 PM
#94
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

This was just an idea for Paypal Express - no other changes should be required to make SMS on Sale work for other payment methods (other than the IPN change which you have already read about).

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 Sep 2009, 1:28 PM
#95
avantik avatar

avantik

New Zenner

Join Date:
Mar 2009
Location:
Miami - USA
Posts:
33
Plugin Contributions:
0

Re: Make a sale, get a text message

Ok...so anothe question: am I supposed to keep the change in the "ipn_main_handler.php" or was your suggestion to remove the change there and add the code only to "includes/modules/payment/paypalwpp.php "?
:cry:

CJ

14 Jan 2010, 5:30 AM
#96
jmsnyder23 avatar

jmsnyder23

Zen Follower

Join Date:
Jan 2010
Location:
Richmond, Virginia, United States
Posts:
122
Plugin Contributions:
0

Re: Make a sale, get a text message

Is there any way to display the product name instead of the price in the text message?

Thanks in advance!

14 Jan 2010, 7:17 AM
#97
pinkleopard avatar

pinkleopard

Zen Follower

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

Re: Make a sale, get a text message

Hi Scott, will this work with lastest version of Zen-Cart?

Thanks

Bridgett

14 Jan 2010, 12:06 PM
#98
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

PinkLeopard: Yes, works with latest Zen Cart.

jmsnyder23: The item price is not displayed, only the total. You could display the names but you'd run out of space in 140 characters. That's why this message is condensed to only display the total.

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.

14 Jan 2010, 12:12 PM
#99
jmsnyder23 avatar

jmsnyder23

Zen Follower

Join Date:
Jan 2010
Location:
Richmond, Virginia, United States
Posts:
122
Plugin Contributions:
0

Re: Make a sale, get a text message

I know that, but I need to know the items in the text message. The items I sell, people would only buy one or two at at a time. Can it be configured to show the item name? Or at least the Model Number?

14 Jan 2010, 12:14 PM
#100
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 cannot be "configured" to do any of these things; you would have to write code to do it.

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.