Zen Cart Logo
Forums / All Other Contributions/Addons / Back In Stock Notifications

Back In Stock Notifications

Views: 71,747

Results 61 to 80 of 507
23 Sep 2008, 9:23 AM
#61
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Back In Stock Notifications

Hi,

BlessIsaacola:

Thanks for this great mod! Is it possible in your next upgrade to support at least the standard out of the box Zen Cart product types?

There are no plans to release any new versions in the future.

If anyone wants us to develop this functionality they'd have to cover the development costs.. If anyone else already has developed it, please just send me the new files and I'll test them, add them to and release a new version.

All the best...

Conor

23 Sep 2008, 9:39 AM
#62
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Back In Stock Notifications

I know that the PRODUCT_MUSIC_INFO just needs to be added to the observer since it's already part of the Zen Cart core. I was just pointing out the future update for those that may not be comfortable with messing with code in: includes/classes/observers/class.back_in_stock_notificationsProductInfo.php

Hmm...I just migrated this mod to our production environment and now questioning myself if there will be no future update (since once 1.4 is released this will probably become outdated).

Will send contribution once some of the quirks are worked out.

One nagging thing right now is if a product has a future date with zero quantity it looks funny displaying the future date and asking customers to pre-buy when Add to Cart button is disabled.

conor:

Hi,

There are no plans to release any new versions in the future.

If anyone wants us to develop this functionality they'd have to cover the development costs.. If anyone else already has developed it, please just send me the new files and I'll test them, add them to and release a new version.

All the best...

Conor

23 Sep 2008, 9:46 AM
#63
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Back In Stock Notifications

Hi,

BlessIsaacola:

I know that the PRODUCT_MUSIC_INFO just needs to be added to the observer since it's already part of the Zen Cart core. I was just pointing out the future update for those that may not be comfortable with messing with code in: includes/classes/observers/class.back_in_stock_notificationsProductInfo.php

I understand completely but I just have other things to be doing at this time.

BlessIsaacola:

Hmm...I just migrated this mod to our production environment and now questioning myself if there will be no future update (since once 1.4 is released this will probably become outdated).

If Zen Cart totally changes in 1.4 then a new version may be released then. I wasn't saying that the module was unsupported, just that no new releases are planned as we don't have time to add **extra **features that not many people have requested (you're the second in total ;) )..

BlessIsaacola:

Will send contribution once some of the quirks are worked out.

I'd like to take your word for that but I'm afraid experience here says otherwise! :(

BlessIsaacola:

One nagging thing right now is if a product has a future date with zero quantity it looks funny displaying the future date and asking customers to pre-buy when Add to Cart button is disabled.

Now I would call that particular problem a bug rather than a feature request. As such a new version will be released shortly with a fix for this! I may at that time also add support for product music types, I'll see how much time I have to spare.

All the best...

Conor

23 Oct 2008, 5:13 PM
#64
dscott1966 avatar

dscott1966

Zen Follower

Join Date:
Apr 2005
Posts:
298
Plugin Contributions:
0

Re: Back In Stock Notifications

Yes this is a great mod and it helps out a lot like to say first great job on the mod.

I did see one thing though. I noticed that in the mod when it reaches zero in stock the notification comes up under the out of stock button. but say if it goes backwards say your stock says there is -1 in stock it does not show it is looking at it as if you do have stock.

My question would be how would you go about fixing this so the negitives do not make it look like it is in stock?
If the notfication does not show then how can people know to use it.

Second question in the form the confirm email box has this inside of it {cofnospam} how do i go about getting rid of that or is that normal?

Once again great mod thank you for putting it together.:bigups:

23 Oct 2008, 5:21 PM
#65
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Back In Stock Notifications

Hi,

dscott1966:

Yes this is a great mod and it helps out a lot like to say first great job on the mod.

Thanks, that's always good to hear! :)

dscott1966:

I did see one thing though. I noticed that in the mod when it reaches zero in stock the notification comes up under the out of stock button. but say if it goes backwards say your stock says there is -1 in stock it does not show it is looking at it as if you do have stock.

You're right! I'll create a new version which checks for stock less than or equal to zero rather than just 0.

I can release that shortly but in the meantime, if you like, you can change:

$products_quantity == 0
```to

```php
$products_quantity <= 0
```in

\includes\classes\observers\class.back_in_stock_notificationsProductInfo.php

> **dscott1966:**
>
> Second question in the form the confirm email box has this inside of it {cofnospam} how do i go about getting rid of that or is that normal?

No, that was a bug in an earlier version. Download 2.2.2 at the following address to fix it:

<http://dev.ceon.net/web/zen-cart/back_in_stock_notifications>

I guess I must have forgotten to update the download area!

I'll create a 2.2.3 and upload it, probably tomorrow.

All the best...

Conor
[Ceon](http://dev.ceon.net)
23 Oct 2008, 5:28 PM
#66
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Back In Stock Notifications

Hi,

Just checked and 2.2.2 is in the download area.

What version were/are you running?

The bug with cofnospam should be fixed in 2.2.1 and up!

All the best...

Conor

23 Oct 2008, 6:04 PM
#67
sudakoma avatar

sudakoma

New Zenner

Join Date:
Jul 2006
Posts:
83
Plugin Contributions:
0

Re: Back In Stock Notifications

Hi Conor,

Im also using 2.2.2 and i still get the 'cofnospam' in that confirm email field. Its no big deal though for me and doesn't affect the working of the mod in any way. It's proving very popular with our customers.

23 Oct 2008, 6:19 PM
#68
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Back In Stock Notifications

Hi,

Sudakoma:

Im also using 2.2.2 and i still get the 'cofnospam' in that confirm email field.

That means that you haven't completed the upgrade to 2.2.2.

You must have missed updating the file

\includes\templates\YOUR_TEMPLATE\templates\tpl_product_info_display.php

You'll find a small difference between your version and the correct version from 2.2.2:

$back_in_stock_notification_form->setVariable('email_confirmation',

should be:

$back_in_stock_notification_form->setVariable('cofnospam',

All the best...

Conor

23 Oct 2008, 6:51 PM
#69
sudakoma avatar

sudakoma

New Zenner

Join Date:
Jul 2006
Posts:
83
Plugin Contributions:
0

Re: Back In Stock Notifications

Thanks, fixed! :oops:

28 Oct 2008, 12:43 PM
#70
mb1 avatar

mb1

Totally Zenned

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

Re: Back In Stock Notifications

is there a way of getting this to work with attributes? so or our products have 6-7 different sizes and if one size is out it would be nice for someone to set -up notification for that size.

28 Oct 2008, 12:59 PM
#71
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Back In Stock Notifications

Hi,

MB1:

is there a way of getting this to work with attributes?

No, sorry, not until Zen Cart officially supports stock for attributes/product variants.

When 1.4 is released a new version of this module will probably follow which supports it.

All the best...

Conor

2 Nov 2008, 11:04 PM
#72
amazeme avatar

amazeme

New Zenner

Join Date:
Aug 2008
Posts:
9
Plugin Contributions:
0

Re: Back In Stock Notifications

awesome mod....really great work.

I thought this mod would automatically send the notification once a products stock level was changed to a positive number. only when I found the entry under catalog that I saw you had to manually send the emails via the drop down selection list.

be a great addition to have the email notifications automatically send once the item was back in stock.

3 Nov 2008, 12:09 AM
#73
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Back In Stock Notifications

Hi,

amazeme:

awesome mod....really great work.

Thanks, that's always nice to hear! :)

amazeme:

be a great addition to have the email notifications automatically send once the item was back in stock

If people have subscribed to notification lists for several products and you are updating the stock levels for your store then that would result in them getting several e-mails.

That might not be a big issue for most stores but it was one of a few factors which resulted in us choosing to design the module in such a way that notifications aren't sent automatically when a product's stock level is updated.

However, there's nothing to stop you from writing a simple script to automatically run the notification sending routine on a daily/hourly cron job. That's a good compromise for what you need I think.

All the best...

Conor
ceon.net

3 Nov 2008, 3:27 PM
#74
brushwoodnursery avatar

brushwoodnursery

Zen Follower

Join Date:
Dec 2006
Posts:
199
Plugin Contributions:
0

Re: Back In Stock Notifications

Hey, Conor! I'm finally building my zen store! Just wondering if you had looked at the code in phplist to see about modulating the email blast to avoid getting flagged as spam at the receiving end.

I've downloaded the most recent release and just looked through it but haven't found the code yet. Not sure I'd know enough to do anything with it in your mod anyway.

3 Nov 2008, 3:41 PM
#75
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Back In Stock Notifications

Hi,

How are you?

brushwoodnursery:

Hey, Conor! I'm finally building my zen store!

That's good to hear.. just the right time of year to have it up! :)

brushwoodnursery:

Just wondering if you had looked at the code in phplist to see about modulating the email blast to avoid getting flagged as spam at the receiving end.

I haven't looked at the code, no, but the idea is pretty simple and wouldn't be something I'd find difficult to write - from scratch if necessary (if the PHPList code was too dependant on other code). However it is too much work for me to take on at the minute I'm afraid, so I doubt this functionality will be added to the module anytime in the next four months.

Sorry if that's bad news! Hopefully the lack of anti-spam-flagging measures won't hurt your usage of the module too much. :|

All the best..

Conor

4 Nov 2008, 4:01 AM
#76
mb1 avatar

mb1

Totally Zenned

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

Re: Back In Stock Notifications

well i can't wait to upgrade to 1.4 when it comes :no: do you know what part of the code i could play with so back in notification pops up all the time. for the mean time

4 Nov 2008, 10:05 AM
#77
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Back In Stock Notifications

Hi,

MB1:

well i can't wait to upgrade to 1.4 when it comes :no: do you know what part of the code i could play with so back in notification pops up all the time. for the mean time

If you want the form to always be displayed then you'll have to remove the followiung code:

$products_quantity <= 0 && 
```
   		 	 
from

\includes\classes\observers\class.back_in_stock_notificationsProductInfo.php

You'll also have to be careful how often you run the notifications routine as it's likely that all notifications will be sent out each time you run it, as you are't actually matching up whether something's in stock or not.

I can't really recommned running things that way (but it is of course up to you).

All the best...

Conor
6 Nov 2008, 6:35 PM
#78
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: Back In Stock Notifications

I've imported the whole database from old website to new website.
In admin when I click on catalog-->back in stock notification I've a blank page. In old website all works fine!

6 Nov 2008, 7:12 PM
#79
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Back In Stock Notifications

Hi,

100asa:

I've imported the whole database from old website to new website.
In admin when I click on catalog-->back in stock notification I've a blank page. In old website all works fine!

Try copying all the files across again. If that doesn't work then turn on error reporting in includes/application_top.php and you should see what error is being produced.

Search the forum for "blank page" if you would like to know more.

All the best...

Conor

6 Nov 2008, 8:57 PM
#80
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: Back In Stock Notifications

in latest version of firefox I see a blank page; instead in ie 7 I can see error 500