Zen Cart Logo
Forums / Features Wish List / Automatic Notification when products are back in stock

Automatic Notification when products are back in stock

Views: 54

Results 1 to 6 of 6
12 May 2016, 10:09 AM
#1
flernebunu avatar

flernebunu

New Zenner

Join Date:
Mar 2013
Posts:
32
Plugin Contributions:
0

Automatic Notification when products are back in stock

Hi,

I know that currently "Notify when product is back in stock" works by manually sending emails to the ones that subscribed.
This would be the module(Ceon Back In Stock Notifications).

I don't have the time to check every time I update stocks that some have subscriptions and send emails to them.

What I would like would be that when I change the stock from 0 or < 0 to a positive number and I press Update from Admin, the notification list would be checked for that product and emails would be automatically sent to them.

We are currently using v1.5.1 and haven't installed the mentioned module because it does not have that functionality.
Please let me know if this can be done.

Regards,
Alex

12 May 2016, 12:57 PM
#2
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,866
Plugin Contributions:
7

Re: Automatic Notification when products are back in stock

Please let me know if this can be done.
Anything can be done, it's open source.

You should post this in the plugin forum, as this is not core code.

https://www.zen-cart.com/showthread.php?181440-Ceon-Back-In-Stock-Notifications-3-0-0&p=1310666

Maybe someone else has already done it...but normally you would use a daily cron job to do this automatically.

12 May 2016, 4:17 PM
#3
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Automatic Notification when products are back in stock

It takes literally 10 seconds to send the emails: click to the page, click the send all emails in the drop down, click the go button, done. So until you get a cron written I would recommend still using it, we do and it's extremely valuable for sales and my staff just takes the 10 seconds after updating inventory.

13 May 2016, 7:11 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Automatic Notification when products are back in stock

How do you update your product quantity? It's always possible to add a notifier or two (if one is not present) in the product update process to first capture the quantity when entering the edit process and then when exiting/updating and if goes from your desired quantity "range" to your target, to then initiate the other process to send the message. Alternatively could listen to page load related information for the same type thing, but seems would be a little more involved.

1 Jun 2016, 12:51 PM
#5
flernebunu avatar

flernebunu

New Zenner

Join Date:
Mar 2013
Posts:
32
Plugin Contributions:
0

Re: Automatic Notification when products are back in stock

lankeeyankee -> I will try that plugin to see how it goes maybe it will be as easy as you say
mc12345678 -> I'm updating stock quantity manually as about 30-40 products per week return to stock

1 Jun 2016, 4:52 PM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Automatic Notification when products are back in stock

Well, looking into it a little, could create an init_ related file to load in admin/includes/init_includes that would if the current/leaving page is the collect_info or preview page then capture the current stock value. If the next loaded page is not the preview or update page then drop the value, if the update page has been loaded and the OK (next loaded page) is selected, then call on your notification process. Otherwise, clear the value and ignore the checks. :P

Okay, truly generic in nature, but is a concept that could work for manually updated process.