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

Back In Stock Notifications

Views: 71,748

Results 281 to 300 of 507
21 Oct 2009, 1:20 AM
#281
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Back In Stock Notifications

cla74:

TY very much.
What was the problem?
My guess would be your FTP software isn't uploading files correctly

21 Oct 2009, 7:40 AM
#282
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi,

countrycharm:

My guess would be your FTP software isn't uploading files correctly

I think that's what the problem was. It's all sorted now though and Claudio has very kindly given me his Italian translations for the software so the next version will have those added. I'm also going to add support for the other product types as it won't really take that long (I hadn't bothered before because I'd spent enough time developing the module and didn't use those product types and no-one has been/is willing to cover the cost of their addition, but well!).

Thanks for your helpful (and correct I think!) comments! :)

All the best...

Conor
ceon

26 Oct 2009, 5:02 PM
#283
brushwoodnursery avatar

brushwoodnursery

Zen Follower

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

Re: Back In Stock Notifications

Hey, Conor! Still loving this mod, mate! Hope others that benefit will :cheers: hook you up as it should be.

Quick question: If a returning customer is surfing but doesn't log in when they sign up for notification, will it merge into their listings when they log in later and look at their subscriptions? Will notification emails be merged or will they get an email based on their account and another based on their manually entered email subscriptions?
I'm not looking for a tweak to the system if it doesn't merge. Just curious.

26 Oct 2009, 6:31 PM
#284
exeter_acres avatar

exeter_acres

New Zenner

Join Date:
Dec 2008
Posts:
70
Plugin Contributions:
0

Re: Back In Stock Notifications

Question about this mod...and if it is buried in the thread, my apologies.

Is it possible to use this on a product by product basis?

Meaning,
have the customer be able to subscribe for only certain products, while other products are just marked as Out of Stock without the ability to be notified?

Thanks

27 Oct 2009, 8:40 AM
#285
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi Dan,

How are you?

brushwoodnursery:

Hey, Conor! Still loving this mod, mate! Hope others that benefit will :cheers: hook you up as it should be.

I think the less I say about that the better!

brushwoodnursery:

Quick question: If a returning customer is surfing but doesn't log in when they sign up for notification, will it merge into their listings when they log in later and look at their subscriptions?

Yes, the module has full support for matching up subscriptions which were made when a customer wasn't a member of a site with subscriptions they've made when they've joined the site. It does this based on matching the email address they subscribed with with the email address they have registered their account with.

brushwoodnursery:

Will notification emails be merged or will they get an email based on their account and another based on their manually entered email subscriptions?

They are merged so the customer gets all notifications in one e-mail.

brushwoodnursery:

I'm not looking for a tweak to the system if it doesn't merge. Just curious.

I'm sure you'll be glad to hear the above then, it already works how you want it to! :)

As always thanks for your support, it's greatly appreciated!

All the best...

Conor
ceon

27 Oct 2009, 8:41 AM
#286
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi,

exeter_acres:

Is it possible to use this on a product by product basis?

No, the current version doesn't support that. You'd have to add custom code to filter out which products can/can't use it. That would actually be easy enough if you simply used some hard coding, if you're a dab hand at PHP, just modify the observers file.

All the best...

Conor
ceon

29 Oct 2009, 4:20 PM
#287
exeter_acres avatar

exeter_acres

New Zenner

Join Date:
Dec 2008
Posts:
70
Plugin Contributions:
0

Re: Back In Stock Notifications

Fair enough....thanks!

2 Nov 2009, 12:41 AM
#288
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Back In Stock Notifications

bubbaole:

hi, i've just installed the contribution on my shop and it works. i need support for email sended because i don't know how i can create the email. How can i mod. the .txt file ? anyone can show me one example for macking it?
i think i have to mod. the .txt files... some one can make one example?

Thanks to all!
When someone ticks the notify me when this item comes back in stock an email will be sent to them. All you have to do it when an item comes back in stock is go to admin/catalog/back_in_stock_notification and tick Action to Perform to whatever that action is. I hope this is what your asking.

2 Nov 2009, 5:56 PM
#289
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi,

bubbaole:

thanks, but the email sent have no body. is an empty email. I think i have to modify the .txt files in the email directory of the store. but i don't know how...
If you can show me your files so i can translate it in italian.
thanks for reply!

If you read the installation instructions in the documentation you'll see the list of files the module uses.

You'll probably have to create Italian files for the e-mail files. I think you maybe then put them in email/it (IT for Italian). It shouldn't be any different from adding e-mail templates for any other module as the Back In Stock Notifications module simply uses the standard zen_mail function.

All the best...

Conor
ceon

2 Nov 2009, 5:59 PM
#290
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi,

Forgot to say that I was talking about the HTML e-mail templates above.

The text version of the "template" e-mails are simply stored in the "email" directory as

email_template_back_in_stock_notification.txt

email_template_back_in_stock_notification_subscribe.txt

They cannot be overridden with language-specific files (at this time, in the current version of the module).

All the best...

Conor
ceon

5 Nov 2009, 8:33 PM
#291
exeter_acres avatar

exeter_acres

New Zenner

Join Date:
Dec 2008
Posts:
70
Plugin Contributions:
0

Re: Back In Stock Notifications

Great mod...

Forgive me, trying to change the "From" email to a different address and I found your below statement, but I'm just not sure what you are saying...:(

Exactly what and where do I need to change?

Thanks so much!

conor:

Hi,

You'll have to modify the file

includes\modules\pages\back_in_stock_notification_subscribe\header_php.php

changing the EMAIL_FROM to something else in the e-mail commands.

All the best...

Conor
ceon

5 Nov 2009, 10:26 PM
#292
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi,

exeter_acres:

Exactly what and where do I need to change?

Did you look in the file

includes\modules\pages\back_in_stock_notification_subscribe\header_php.php

and search for "EMAIL_FROM".. it is a define used in the call to the zen_mail function. It is the address from which the subscriptions notifications come. Change it to your desired "From" e-mail address.

If you don't understand the above I'm afraid you don't have the necessary understanding to update the file and should get your developer to make the change for you.

All the best...

Conor
ceon

6 Nov 2009, 12:53 PM
#293
exeter_acres avatar

exeter_acres

New Zenner

Join Date:
Dec 2008
Posts:
70
Plugin Contributions:
0

Re: Back In Stock Notifications

There is no email address in that file....

Just remove
"EMAIL_FROM" and put in the address wanted?

and "EMAIL_FROM" is in two different places in the file

or do you mean that the owner email needs to be changed in the Zen Admin area?

6 Nov 2009, 1:17 PM
#294
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi,

exeter_acres:

There is no email address in that file....

Yes, I know, it's bad form to hard code e-mail addresses into files (and an impossibility for a module which is publicly distributed!).

I'm sorry but I'm not here to teach you PHP, this is getting off topic!

exeter_acres:

Just remove
"EMAIL_FROM" and put in the address wanted?

Yes, remember to put the address in quotes or you'll get a parse error.

exeter_acres:

and "EMAIL_FROM" is in two different places in the file

That's right.

exeter_acres:

or do you mean that the owner email needs to be changed in the Zen Admin area?

The EMAIL_FROM is a define which is populated with the store e-mail address in the admin area, that's how the module is configured with the sending e-mail address.

I hope you don't mind me saying but this is way off being a normal support item now, so hopefully the above is all you need to know to do what you want to do. If not, please consult a PHP developer for more information on how these things work.

All the best...

Conor
ceon

6 Nov 2009, 1:22 PM
#295
exeter_acres avatar

exeter_acres

New Zenner

Join Date:
Dec 2008
Posts:
70
Plugin Contributions:
0

Re: Back In Stock Notifications

I'm sorry you feel this is beyond your support... as I thought it was a pretty basic functionality question.....

6 Nov 2009, 1:24 PM
#296
exeter_acres avatar

exeter_acres

New Zenner

Join Date:
Dec 2008
Posts:
70
Plugin Contributions:
0

Re: Back In Stock Notifications

I did get it to work....

thanks

6 Nov 2009, 1:33 PM
#297
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi,

I'm glad you got it to work as desired.

exeter_acres:

I'm sorry you feel this is beyond your support... as I thought it was a pretty basic functionality question.....

The answer was given previously, it's just you didn't know what to do with it so I had to answer programming questions. I hope you can understand that that goes beyond a "functionality question".

Nevertheless the main thing is you've got things working!

Have a good weekend! :)

All the best...

Conor

7 Nov 2009, 5:44 PM
#298
ferenczy avatar

ferenczy

New Zenner

Join Date:
Aug 2007
Posts:
5
Plugin Contributions:
0

Re: Back In Stock Notifications

Great Script Conor!

Thanks so much for creating it! :clap:

For those that would like to run a cron job for this module, feel free to use / modify the one below:

<?php

// filename: cron1.php
// make changes in /admin/includes/init_includes/init_admin_auth.php example below...
// 
################################## init_admin_auth.php ##################################
#
#	if (! defined('IS_ADMIN_FLAG')) {
#  		die('Illegal Access');
#	}
#  // New Code Starts Here:
#	if (!isset($_SESSION['admin_id']) && defined('CRON_ADMIN_USER_ID') && CRON_ADMIN_USER_ID != '') { 
#  		$_SESSION['admin_id'] = CRON_ADMIN_USER_ID;
#	} 
#  // End New Code:
#	if (!(basename($PHP_SELF) == FILENAME_LOGIN . '.php')) {
#
################################## init_admin_auth.php ##################################

if ($_SERVER['REMOTE_ADDR'] == $_SERVER['SERVER_ADDR']) { // Security measure to make sure only local server runs file! <-- Comment out this line to run browser testing

	define('CRON_ADMIN_USER_ID', '99'); // Pick an ID number and add CRON_ADMIN_USER_ID into admin database, I used phpMyAdmin to do this

	require ('includes/application_top.php');
	require (DIR_FS_ADMIN . DIR_WS_LANGUAGES . 'english/back_in_stock_notifications.php');
	require (DIR_FS_ADMIN . DIR_WS_FUNCTIONS . 'back_in_stock_notifications_functions.php');

	sendBackInStockNotifications();
} // <-- Comment out this line to run browser testing
?>

Hope this helps someone else that might need this feature.

Best Regards,
Mike

9 Nov 2009, 11:33 AM
#299
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi Mike,

ferenczy:

Great Script Conor!

Thanks so much for creating it! :clap:

No problem, glad you like it!

Thanks for posting the cron job script.. it's nice and neat! :)

All the best...

Conor
ceon

11 Nov 2009, 5:07 PM
#300
exeter_acres avatar

exeter_acres

New Zenner

Join Date:
Dec 2008
Posts:
70
Plugin Contributions:
0

Re: Back In Stock Notifications

Sorry I was snippy....

One more question.....

Exactly where is the text for the subscription email stored.

I found the file to change the text of the subscription screen that is displayed, but I would like to add some text to the actual subscription email that is sent out......

Thanks for a great mod