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

Make a sale, get a text message

Views: 59,723

Results 21 to 40 of 136
21 Jan 2007, 5:36 PM
#21
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

If you are using email archiving (Admin->Configuration->Email Options->Email Archiving Active?)
and you do not want to archive your SMS message emails, edit the file

includes/classes/observers/class.msg_owner.php

and change "msg_owner" in the call to zen_mail to "no_archive", i.e.

zen_mail('Shop Owner', $this->owner_phone, $email_title, $email_text, STORE_NAME, EMAIL_FROM, $empty_block, "no_archive",'');

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.

28 Jan 2007, 6:42 PM
#22
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

Some people have asked for the ability to easily turn this feature off and on - for instance, off during the week and on during the weekend. I will release an updated version of SMS on Sale with this feature in early February.

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.

28 Jan 2007, 6:46 PM
#23
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Make a sale, get a text message

why not just use the send extra order emails to and put in the [email protected]

Zen cart PCI compliant Hosting

28 Jan 2007, 7:11 PM
#24
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 is discussed in the FAQ. The trouble with this solution is that most providers limit their SMS messages to 100-200 characters, and with the regular Zen email, the body is truncated before anything interesting is printed. SMS on sale provides the key data in a short package.

The FAQ is at http://www.thatsoftwareguy.com/zencart_sms_on_sale.html

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.

2 Feb 2007, 4:42 PM
#25
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

New version now available with the ability to turn off and on from the admin screen.

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 2007, 10:30 PM
#26
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 are using Paypal IPN, you will need to do a bit of additional work to make SMS on Sale work. Edit the file ipn_main_handler.php at the top level of your store, find the line

   $order->send_order_email($insert_id, 2);

it's line 219 in 1.3.7. Change this to:

   $order->send_order_email($insert_id, 2);
   require(DIR_WS_CLASSES . 'observers/class.msg_owner.php');
   $mo = new msg_owner();
   $mo->update($this, 'NOTIFY_CHECKOUT_PROCESS_AFTER_SEND_ORDER_EMAIL');

Thanks to s_mack for taking the time to describe this approach in another thread.

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 Feb 2007, 9:10 PM
#27
mb1 avatar

mb1

Totally Zenned

Join Date:
Jun 2006
Posts:
565
Plugin Contributions:
0

Re: Make a sale, get a text message

i'm in canada and it works perfectly? just would like to tweek it?

https://www.gorillagear.ca = zencart v1.3.9h with 40+ mods

21 Mar 2007, 5:38 PM
#28
ali_peracha avatar

ali_peracha

New Zenner

Join Date:
Feb 2007
Posts:
50
Plugin Contributions:
0

Re: Make a sale, get a text message

**Fatal error: Cannot redeclare class msg_owner in /home/content/g/e/o/georgidesign/html/store/includes/classes/observers/class.msg_owner.php on line 2
**

Hi guys,

For some reason ive started to get this error and whatever i do i cant get my site to work now. I just re-inserted all the includes files on my server and since then im getting this fatal error.

I know its beacuase of the SMS module coz the class.msg_owner.php is a part of the file.

Can anyone helo me out with this??

Thanks,
AP

21 Mar 2007, 6:19 PM
#29
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

There were several files involved in the install; you will need to back out all the changes. Delete the new files, restore the changed files.

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 Mar 2007, 9:25 PM
#30
ali_peracha avatar

ali_peracha

New Zenner

Join Date:
Feb 2007
Posts:
50
Plugin Contributions:
0

Re: Make a sale, get a text message

swguy:

There were several files involved in the install; you will need to back out all the changes. Delete the new files, restore the changed files.

Just the files assosiated with SMS Module or all the changes i made to the original ZenCart?? I have customized almost all the modules to meet my requirements and design.

Is there a way to just take out the SMS module completely and reinstall it??

Thanks,
AP

21 Mar 2007, 9:30 PM
#31
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

Obviously the former. This is not a virus. :)

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 Mar 2007, 9:33 PM
#32
ali_peracha avatar

ali_peracha

New Zenner

Join Date:
Feb 2007
Posts:
50
Plugin Contributions:
0

Re: Make a sale, get a text message

Sure :)

So, are there only two files assosiated or more? Beacuase all i did was upload all the includes of ZenCart again on the server.

Thanks.

21 Mar 2007, 9:36 PM
#33
ali_peracha avatar

ali_peracha

New Zenner

Join Date:
Feb 2007
Posts:
50
Plugin Contributions:
0

Re: Make a sale, get a text message

Ok if i remove the two files that came with sms (class.msg_owner.php and config.msg_owner.php) then i get the following error:

Fatal error: Cannot instantiate non-existent class: msg_owner in /home/content/g/e/o/georgidesign/html/store/includes/autoload_func.php on line 79

21 Mar 2007, 10:14 PM
#34
ali_peracha avatar

ali_peracha

New Zenner

Join Date:
Feb 2007
Posts:
50
Plugin Contributions:
0

Re: Make a sale, get a text message

Any suggestions?

AP

23 Mar 2007, 12:45 AM
#35
point0fsale avatar

point0fsale

New Zenner

Join Date:
Feb 2005
Posts:
67
Plugin Contributions:
0

Re: Make a sale, get a text message

swguy:

SMS On Sale is now available in the downloads area

http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_41&products_id=436

If your mobile device has an email address ([email protected]), you can easily configure your cart to text you when you get a sale.

Help at

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

Scott

Great Idea. How many times have you been out and about wondering if you were missing sales. Just wanted to add a different twist to this method. Does not require a mod.

In Admin...Go to: Send Copy of Order Confirmation Emails To
Please make any necessary changes

Send Copy of Order Confirmation Emails To
Send COPIES of order confirmation emails to the following email addresses, in this format: Name 1 email@address1, Name 2 email@address2

Put your cell number in as a copy such as , NewOrder [email protected]

Then you will get a message with most details including the order no, amount, customer etc. (Takes a little more space on your phone and possible cents but more info)

You can also configure Outlook or Outlook Express to reply to the cell phone number when it gets an order. (Of course your puter would need to be on and checking mail ever so often. Method one sends all orders, and method 2 can be set to send all except free or $0 amount orders.

Never could get the mod to work but this works also, and a very good idea.

Thanks.

23 Mar 2007, 1:59 AM
#36
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

As noted in post 25, you will likely get cut off before useful information is delivered.
That's why I wrote this mod.

You say you couldn't get it to work.
Can you tell me specifically what happened when you installed it?

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.

23 Mar 2007, 1:23 PM
#37
point0fsale avatar

point0fsale

New Zenner

Join Date:
Feb 2005
Posts:
67
Plugin Contributions:
0

Re: Make a sale, get a text message

Merlinpa1969:

why not just use the send extra order emails to and put in the [email protected]
Sort of like stepping on a rake.

23 Mar 2007, 1:28 PM
#38
point0fsale avatar

point0fsale

New Zenner

Join Date:
Feb 2005
Posts:
67
Plugin Contributions:
0

Re: Make a sale, get a text message

Merlinpa1969:

why not just use the send extra order emails to and put in the [email protected]

swguy:

As noted in post 25, you will likely get cut off before useful information is delivered.
That's why I wrote this mod.

You say you couldn't get it to work.
Can you tell me specifically what happened when you installed it?

Thanks,
Scott

Not really, it delivers all needed information.

23 Mar 2007, 3:21 PM
#39
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

point0fsale:

Not really, it delivers all needed information.

Each provider has different limits on the amount of text it will deliver. But traditionally, a "short" message has been thought of as one with less than 140 characters.

YMMV. Glad you got something to work.
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, 4:17 PM
#40
ali_peracha avatar

ali_peracha

New Zenner

Join Date:
Feb 2007
Posts:
50
Plugin Contributions:
0

Re: Make a sale, get a text message

guys, im still stuck with the same problem. I tried removing everything from the server and uploading again but to no avail. I tried to upload all the files from another backup i had but it does not work either.

Im just lost right now!

AP