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

Back In Stock Notifications

Views: 71,748

Results 261 to 280 of 507
16 Sep 2009, 7:17 AM
#261
conor avatar

conor

Passed

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

Back In Stock Notifications

Hi,

pukram:

Just a note that i've got the "back in stock notification" language files translated in French if someone needs it. Working on the German ones now...

Great mod btw, thanks!

Glad to hear that you like the software!

I'm happy to include your translation(s) in future versions of the module. If you're happy with that please just send a zip of the files to me at the e-mail address in the source code.

I'll of course attribute copyright/authorship to yourself in the files.. so please also let me know what name/e-mail address you'd like the copyright attributed to!

All the best...

Conor
ceon

20 Sep 2009, 8:17 PM
#262
pukram avatar

pukram

New Zenner

Join Date:
Oct 2006
Posts:
12
Plugin Contributions:
0

Re: Back In Stock Notifications

will do for sure. thanks!

27 Sep 2009, 2:25 PM
#263
pudzpud avatar

pudzpud

Zen Follower

Join Date:
May 2009
Posts:
156
Plugin Contributions:
0

Re: Back In Stock Notifications

Fantastic Mod - its one of my all times favs - big thumbs up:bigups:

One question - is there a way to remove a stock notification if the product is not an old or deleted one (I know there is an option for deleted products)? We have someone we no longer ship to for various reasons and have closed their account on the website, however they keep on adding subscriptions to products using this module and when we do the 'actually send email notifications' it also sends to this customer also and she then complains when she goes to order it and cant saying we should not email her if we wont let her buy it! I have explained many times she should not keep subscribing to stock notifications as we wont sell to her but its in one ear and out the other. We have deleted her account so cannot login as customer and remove the alerts so removing them from the module before sending emails would be the ideal scenario so we dont have to have anything to do with this ex-customer.

Any way to do this?

28 Sep 2009, 9:59 AM
#264
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi,

PudzPud:

Fantastic Mod - its one of my all times favs - big thumbs up:bigups:

Glad you like it! :)

PudzPud:

I have explained many times she should not keep subscribing to stock notifications as we wont sell to her but its in one ear and out the other.

I'm afraid the module isn't built to cope with mentals! I could add support for deletion of individual notifications for mental people but I don't think I'll be making it a priority! ;p

You can always manually delete this person's subscriptions from the database by searching the database table against her e-mail address (as clearly she can't have a user account again).

Hope that helps with this "unusual" situation!

All the best...

Conor

5 Oct 2009, 1:37 PM
#265
chabbu avatar

chabbu

New Zenner

Join Date:
Jul 2007
Posts:
75
Plugin Contributions:
0

Re: Back In Stock Notifications

Hi

Is it possible to (easily) remove the 'name' and 'confim email' field from the notification form?

Thanks

Faz

5 Oct 2009, 2:09 PM
#266
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi Faz,

chabbu:

Is it possible to (easily) remove the 'name' and 'confim email' field from the notification form?

Yes, it would be easy enough.. you'd open yourself to a lot of spamming though as without the confirmation address field you'll have automated scripts signing up for notifications by submitting the forms.. really not a good idea!

I'd say it would be better to have lots of genuine subscriptions rather than spam!

All the best...

Conor
ceon

5 Oct 2009, 2:27 PM
#267
chabbu avatar

chabbu

New Zenner

Join Date:
Jul 2007
Posts:
75
Plugin Contributions:
0

Re: Back In Stock Notifications

conor:

Yes, it would be easy enough

Could you tell me how?

conor:

.. you'd open yourself to a lot of spamming though

Point noted, but if it's not too much of a tedious task I can give it a try and revert back if required.

Thanks

Faz

5 Oct 2009, 2:48 PM
#268
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi,

chabbu:

Could you tell me how?

You'll need to do some custom coding of the following page:

includes\modules\pages\back_in_stock_notification_subscribe\header_php.php

You should remove any reference to the name and confirmation form fields ('name'/'cofnospam').

You could then remove these form fields from the template file:

includes\templates\template_default\templates\inc.html.back_in_stock_notifications.html (Copy the template file to your template directory first of course).

Because of the way the Ceon template class works (which is rather nifty if I don't say so myself), these are the only two files that should need changed for the actual website.. the final file(s) would be the email templates, to remove the customer's name for example. Pretty standard stuff!

chabbu:

Point noted, but if it's not too much of a tedious task I can give it a try and revert back if required.

It's up to you of course!

All the best...

Conor
ceon

19 Oct 2009, 7:14 PM
#269
cla74 avatar

cla74

New Zenner

Join Date:
May 2008
Location:
Italy
Posts:
83
Plugin Contributions:
0

Re: Back In Stock Notifications

Hi conor
i have searched every post without fortune.
I have installed the mod just like the instructions say!!
After all when i go to my account all disappear except the left side sideboxes and the header.
When i upload the old tpl_account _default all come normal!!!
Plus,i use tpl_product_free_shipping_info_display instead tpl_product_info_display,in that page nothing different.

Can you help me?
TY

19 Oct 2009, 7:28 PM
#270
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi,

cla74:

After all when i go to my account all disappear except the left side sideboxes and the header.

That means that the template file is failing, probably with a PHP error or because the file wasn't uploaded fully. Try uploading it again.

If it is still failing then you've got something wrong in the code somewhere.. please search this forum for "blank page" and follow the instructions in the wiki about enabling the display of PHP errors.. you will more than likely then see an error message which will explain what is wrong with your site.

cla74:

Plus,i use tpl_product_free_shipping_info_display instead tpl_product_info_display,in that page nothing different.

I'm afraid you'll have to use software like winmerge to add the necessary code to that file. It isn't currently supported, only the standard "product" type is supported, not music product types or free shipping product types etc.

Hope that all helps!

All the best...

Conor
ceon

19 Oct 2009, 7:33 PM
#271
cla74 avatar

cla74

New Zenner

Join Date:
May 2008
Location:
Italy
Posts:
83
Plugin Contributions:
0

Re: Back In Stock Notifications

conor:

Hi,

That means that the template file is failing, probably with a PHP error or because the file wasn't uploaded fully. Try uploading it again.

If it is still failing then you've got something wrong in the code somewhere.. please search this forum for "blank page" and follow the instructions in the wiki about enabling the display of PHP errors.. you will more than likely then see an error message which will explain what is wrong with your site.

I'm afraid you'll have to use software like winmerge to add the necessary code to that file. It isn't currently supported, only the standard "product" type is supported, not music product types or free shipping product types etc.

Hope that all helps!

All the best...

Conor
ceon

So i cant use that mod?

19 Oct 2009, 8:16 PM
#272
cla74 avatar

cla74

New Zenner

Join Date:
May 2008
Location:
Italy
Posts:
83
Plugin Contributions:
0

Re: Back In Stock Notifications

conor:

Hi,

If it is still failing then you've got something wrong in the code somewhere.. please search this forum for "blank page" and follow the instructions in the wiki about enabling the display of PHP errors.. you will more than likely then see an error message which will explain what is wrong with your site.
ceon

This is what bebug_error_utility says

[19-ott-2009 13:42:20] PHP Parse error: syntax error, unexpected $end in /home1/egamesev/public_html/includes/templates/egame74/templates/tpl_account_default.php on line 126

How can i fix it?

19 Oct 2009, 9:09 PM
#273
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi,

cla74:

[19-ott-2009 13:42:20] PHP Parse error: syntax error, unexpected $end in /home1/egamesev/public_html/includes/templates/egame74/templates/tpl_account_default.php on line 126

How can i fix it?

It definitely sounds like your FTP software isn't uploading the file correctly (for one thing the file is only 116 lines long so I'd guess your FTP software is so bad that it's adding extra newlines/carriage returns). Try using FireFTP for Firefox and reupload the file (it's a free download/extension).

If that's not it then you'll need to get a developer to manually debug this for you, the file should work fine when uploaded correctly.

cla74:

So i cant use that mod?

It doesn't have support for the product type you mentioned but if you have any knowledge of PHP/HTML it should be easy to copy the necessary code across from the normal "product" template file (tpl_product_info_display.php) to the "product_free_shipping" template file (tpl_product_free_shipping_info_display.php).. all of the additions the module makes to the standard Zen Cart template files are clearly marked in the source.

You'll also need to edit the file

includes/classes/class.back_in_stock_notificationsProductInfo.php

and add in a notifier attachment for your product type (Add it below 'NOTIFY_MAIN_TEMPLATE_VARS_EXTRA_PRODUCT_INFO', separating the lines with a comma).

E.g. change the lines to:

$zco_notifier->attach($this,
            array(
                'NOTIFY_MAIN_TEMPLATE_VARS_EXTRA_PRODUCT_INFO',
                'NOTIFY_MAIN_TEMPLATE_VARS_EXTRA_PRODUCT_FREE_SHIPPING_INFO'
                )
            );
```Again, if you aren't comfortable with PHP/HTML you should get your developer to do this for you!

All the best..

Conor
[ceon](http://dev.ceon.net)
19 Oct 2009, 9:17 PM
#274
cla74 avatar

cla74

New Zenner

Join Date:
May 2008
Location:
Italy
Posts:
83
Plugin Contributions:
0

Re: Back In Stock Notifications

conor:

Hi,

It definitely sounds like your FTP software isn't uploading the file correctly (for one thing the file is only 116 lines long so I'd guess your FTP software is so bad that it's adding extra newlines/carriage returns). Try using FireFTP for Firefox and reupload the file (it's a free download/extension).

If that's not it then you'll need to get a developer to manually debug this for you, the file should work fine when uploaded correctly.

It doesn't have support for the product type you mentioned but if you have any knowledge of PHP/HTML it should be easy to copy the necessary code across from the normal "product" template file (tpl_product_info_display.php) to the "product_free_shipping" template file (tpl_product_free_shipping_info_display.php).. all of the additions the module makes to the standard Zen Cart template files are clearly marked in the source.

You'll also need to edit the file

includes/classes/class.back_in_stock_notificationsProductInfo.php

and add in a notifier attachment for your product type (Add it below 'NOTIFY_MAIN_TEMPLATE_VARS_EXTRA_PRODUCT_INFO', separating the lines with a comma).

E.g. change the lines to:

$zco_notifier->attach($this,
array(
'NOTIFY_MAIN_TEMPLATE_VARS_EXTRA_PRODUCT_INFO',
'NOTIFY_MAIN_TEMPLATE_VARS_EXTRA_PRODUCT_FREE_SHIPPING_INFO'
)
);

> 
> All the best..
> 
> Conor
> [ceon](http://dev.ceon.net)

Bed news!!
It wont works anyway!!
19 Oct 2009, 9:18 PM
#275
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi,

cla74:

Bed news!!
It wont works anyway!!

Sorry I have no idea what you are trying to say?

All the best...

Conor
ceon

19 Oct 2009, 9:27 PM
#276
cla74 avatar

cla74

New Zenner

Join Date:
May 2008
Location:
Italy
Posts:
83
Plugin Contributions:
0

Re: Back In Stock Notifications

conor:

Hi,

It definitely sounds like your FTP software isn't uploading the file correctly (for one thing the file is only 116 lines long so I'd guess your FTP software is so bad that it's adding extra newlines/carriage returns). Try using FireFTP for Firefox and reupload the file (it's a free download/extension).

If that's not it then you'll need to get a developer to manually debug this for you, the file should work fine when uploaded correctly.

It doesn't have support for the product type you mentioned but if you have any knowledge of PHP/HTML it should be easy to copy the necessary code across from the normal "product" template file (tpl_product_info_display.php) to the "product_free_shipping" template file (tpl_product_free_shipping_info_display.php).. all of the additions the module makes to the standard Zen Cart template files are clearly marked in the source.

You'll also need to edit the file

includes/classes/class.back_in_stock_notificationsProductInfo.php

and add in a notifier attachment for your product type (Add it below 'NOTIFY_MAIN_TEMPLATE_VARS_EXTRA_PRODUCT_INFO', separating the lines with a comma).

E.g. change the lines to:

$zco_notifier->attach($this,
array(
'NOTIFY_MAIN_TEMPLATE_VARS_EXTRA_PRODUCT_INFO',
'NOTIFY_MAIN_TEMPLATE_VARS_EXTRA_PRODUCT_FREE_SHIPPING_INFO'
)
);

> 
> All the best..
> 
> Conor
> [ceon](http://dev.ceon.net)

Ok it works in the product free shipping info display.
But not in MY Account
19 Oct 2009, 9:46 PM
#277
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi,

cla74:

Ok it works in the product free shipping info display.
But not in MY Account

Please get in contact with me privately via this link. Send me your FTP details and I'll check it out.

All the best...

Conor
ceon

19 Oct 2009, 9:59 PM
#278
cla74 avatar

cla74

New Zenner

Join Date:
May 2008
Location:
Italy
Posts:
83
Plugin Contributions:
0

Re: Back In Stock Notifications

conor:

Hi,

Please get in contact with me privately via this link. Send me your FTP details and I'll check it out.

All the best...

Conor
ceon
Done
I will wait

19 Oct 2009, 10:30 PM
#279
conor avatar

conor

Passed

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

Re: Back In Stock Notifications

Hi,

cla74:

Done
I will wait

Re-uploaded the file and it's working fine!

All the best...

Conor
ceon

19 Oct 2009, 10:33 PM
#280
cla74 avatar

cla74

New Zenner

Join Date:
May 2008
Location:
Italy
Posts:
83
Plugin Contributions:
0

Re: Back In Stock Notifications

conor:

Hi,

Re-uploaded the file and it's working fine!

All the best...

Conor
ceon

TY very much.
What was the problem?