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 Modifications
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.
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?
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 Modifications
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.
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 aas a debug error. The line it refers to saysPHP Warning: Invalid argument supplied for foreach() in /home/content/n/e/w/newtonmrktng/html/flavorwood_store/includes/classes/order.php on line 788yet I don't really see anything wrong with the line.Code: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.
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 Modifications
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.
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.
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
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 Modifications
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.
Bookmarks