-
Ceon Back In Stock Notifications 3.0.0
Hi,
It gives me great pleasure to release a new version of Ceon Back In Stock Notifications!
This is an essential upgrade as it features several bugfixes.
About the module
The Back In Stock Notifications is an essential module, which lets customers subscribe to a notification list for a product that has gone out of stock.
The subscription process is completely automated. Customers don't have to have an account to subscribe themselves, but if they do, the subscription is automatically associated with their account.
Once a product is back in stock, an e-mail can be sent to all those subscribed to the notification list for that product, using the convenient admin utility.
You can read a list of the features here.
What's changed in version 3.0.0
From the Revision History for the software...
[ADDED] The names of the products now link directly to the product's page in the Back In Stock Notification subscriptions section of the customer account area.
[ADDED] Added an option to have the product's model appended to its name in the Back In Stock Notifications section of the customer's account area. Just uncomment the HTML in the template part and/or adjust the template part as desired.
[ADDED] A column listing the category has been added to the products with subscriptions listing in the admin utility. Thanks for the code goes to Tony Niemann .
[ADDED] A column listing the category has been added to the subscriptions listing in the admin utility.
[ADDED] Added an option to view all the products/subscriptions in the listings in the admin utility, instead of having to browse by page. Thanks for the code goes to Tony Niemann.
[ADDED] Spanish translation added for admin and catalog files. Thanks for the translation goes to torvista, Ana Bobes!
[UPDATED] The products/subscriptions listings in the admin utility can now be sorted by column, by clicking on the column headings. Based on code by Tony Niemann.
[UPDATED] The links to the products in the notification e-mails now open the link in a new window.
[UPDATED] The unsubscription form in My Account didn't work if the submit button had no name, as this meant that the expected submission signal variable wasn't being passed in the form. A hidden variable is now always passed to avoid the possibility of this occurring.
[UPDATED] The code to build the links on product listing pages to and out of stock product's subscription form has been updated to remove the sorting parameters found on the listings pages. This should hopefully result in better compatibility with SEO software that builds the links incorrectly.
[UPDATED] The number of subscriptions per page displayed in the admin utility now uses the value of the Zen Cart admin ‘Maximum Display of Products on Reports” setting instead of the store-side “Search Results Per Page” setting. Thanks for the suggestion goes to Tony Niemann.
[UPDATED] The styling of the tables in the admin utility improved to make the listings clearer.
[BUGFIX] The check on the product listings pages, to determine if a logged-in customer was already subscribed to the Back In Stock Notification list for a product, didn't work because of a code logic error. (Thanks to ArtO on the forum for the heads up).
[BUGFIX] The code to load in the text version of any Back In Stock Notifications e-mails was only ever loading in the standard language's e-mail template. Now each language the store uses can have its own specific e-mail template. If a text e-mail template doesn't exist for a language, the standard language's e-mail template will be used instead.
[BUGFIX] Fixed a problem with the submission of the notification utility form redirecting the user to the admin login page. The admin notification utility's form wasn't passing the session ID, which could cause problems on certain server/store configurations (specifically those that didn't save the session ID in a cookie, as happens with some that run PHP as a CGI).
[BUGFIX] The greeting in the subscription e-mails is no longer hard-coded. Instead, a new language define has been added to the language file(s).
[BUGFIX] The text preceding a link in the text version of notification e-mails is no longer hard-coded. Instead, a new language define has been added to the admin language file(s).
[BUGFIX] The function to build a link to a product's admin page (by RubikIntegration team) didn't work properly, breaking whenever quotes or other special characters were in a product's name.
[ADDED] Sample modified core file and sample modified template files for Zen Cart 1.3.9h added.
[UPDATED] Documentation updated with instructions on how to create a version of the e-mail templates for every language the store uses. This is an essential part of the installation process for the module, other languages can't send HTML versions of the e-mails without it!
[UPDATED] Documentation updated so that the dynamic functionality works when the documentation is being accessed from a local disk using Google Chrome.
It has been submitted to the Zen Cart downloads area and should be available there soon.
Upgrading shouldn't take too long, comprehensive instructions are included in the documentation.
Enjoy!
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi conor,
As we near sending out our first notification I started looking at customizing the notify email...
I may have been very dense today, but it look me ages to finally find out where the words/text of the notify email ("Please check it out before it goes out of stock again!", etc.) are defined- and they weren't anywhere I expected them to be, given the location of the subscribe and unsubscribe email text defines! I definitely didn't expect to find them in admin...
The defines are here:
admin/includes/languages/english/functions/back_in_stock_notifications.php
I wonder if this could be added to the documentation under configuration? Or maybe it is obvious to everyone else...
I also modified code to add a closing line (I called $EMAIL_CLOSING) to the end of the email, since we wanted something to say "PLEASE NOTE: This is a one-time notification. If a product goes out of stock, you will need to sign up again to be notified when it returns." A bit of a bother, but it will hopefully help the customers...
Also, it seems like perhaps $EMAIL_DISCLAIMER (already defined) at the end of the email should be standard at the end of the distribution email template for html and txt? It isn't there now on the standard distribution template, and I only knew to add it because I was looking at the code...
Also, if I may request - an option to turn off the "powered by zen cart" portion of the $EMAIL_DISCLAIMER would be helpful I think. (Yes, I just commented it out in the code).
And FYI, I added an . "\n" to add a line break after each product listing in the html email on about line 132 of
admin/includes/includes/functions/back_in_stock_notifications_functions.php
to make a cleaner email and avoid the super-long line it was producing.
I can send you what I did if it is of any help... Although I would guess my mods are pretty obvious...
Thank you- your module has been a life-saver, and I have convinced our store-client, who is super-happy, to make a donation!
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
jgreene
it look me ages to finally find out where the words/text of the notify email ("Please check it out before it goes out of stock again!", etc.) are defined- and they weren't anywhere I expected them to be, given the location of the subscribe and unsubscribe email text defines! I definitely didn't expect to find them in admin...
Yes, sorry, this isn't so obvious I'd guess, but it is the standard for Zen Cart to keep the e-mail templates in the store's side, even for admin e-mails.
I've never read the Zen Cart manual before but I'm guessing that it must not mention that then.
Quote:
Originally Posted by
jgreene
I wonder if this could be added to the documentation under configuration? Or maybe it is obvious to everyone else...
No, thinking about it, I don't think it would be that obvious, it's certainly not intuitive. If I ever create a new version of the software, I'll add this info to the docs.
Quote:
Originally Posted by
jgreene
Also, it seems like perhaps $EMAIL_DISCLAIMER (already defined) at the end of the email should be standard at the end of the distribution email template for html and txt? It isn't there now on the standard distribution template, and I only knew to add it because I was looking at the code...
All of the standard Zen Cart e-mail variables are available for use.
I didn't include the standard Zen Cart disclaimer in the default template to save people the bother of taking it out as I find most people do so when modifying the Zen Cart e-mail templates.
The standard Zen Cart disclaimer text is pretty poor IMO...
Quote:
Originally Posted by
jgreene
Also, if I may request - an option to turn off the "powered by zen cart" portion of the $EMAIL_DISCLAIMER would be helpful I think. (Yes, I just commented it out in the code).
..as you've noticed. :)
As it's the ZC standard I'm afraid I'll not be changing it.
Quote:
Originally Posted by
jgreene
And FYI, I added an . "\n" to add a line break after each product listing in the html email on about line 132 of
admin/includes/includes/functions/back_in_stock_notifications_functions.php
to make a cleaner email and avoid the super-long line it was producing.
That's not a "cleaner" e-mail but I know what you mean... I'd meant to put a newline there but forgot. I've now made the change in the "trunk" for the module.. so it's there if a new version gets released.
Quote:
Originally Posted by
jgreene
I can send you what I did if it is of any help... Although I would guess my mods are pretty obvious...
Thanks for your feedback!
Quote:
Originally Posted by
jgreene
Thank you- your module has been a life-saver, and I have convinced our store-client, who is super-happy, to make a donation!
I'm glad you like it. I hope the store does well.
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi
At the moment this module is sending plain-txt emails for non account holders and html for users that are logged in.
Is there a way I can change this so everyone gets the html emails?
Kind Regards
Dave
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi Dave,
Quote:
Originally Posted by
Davx
At the moment this module is sending plain-txt emails for non account holders and html for users that are logged in.
Is there a way I can change this so everyone gets the html emails?
You'll have to manually recode Zen Cart's e-mail function. It is that which decides what format to send the e-mail in.
Should be easy enough to change by modifying the core file.
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Cheers Conor
...for anyone else looking you need to edit /includes/functions/functions_email.php.
PHP Code:
// handling admin/"extra"/copy emails:
if (ADMIN_EXTRA_EMAIL_FORMAT == 'TEXT' && substr($module,-6)=='_extra') {
$email_html=''; // just blank out the html portion if admin has selected text-only
}
//Add this after the above around line 160
if ($customers_email_format != 'HTML' && $email_html != '' && ($module == 'back_in_stock_notification_subscribe' || $module == 'back_in_stock_notification_subscribe')) {
$customers_email_format = 'HTML';
}
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi
Installed BISN and the request to subscribe form appears thereunder in the product page and you can subscribe all OK and you get your email confirming, so communications with database seems OK on that page.
However when you go to admin under Catalog - back in stock notifications - and you click on it you encounter an error
1146 Table 893_shop.shop_back_in_stock_notification_subscriptions' doesn't exist...
the database table exist and subscriptions are there.
I noticed that database name in our mysql is Shop_back_in_stock_notification_subscriptions with a capital S.
any suggestions?
Thank you
Tony
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi Tony,
Quote:
Originally Posted by
Tonyy
I noticed that database name in our mysql is Shop_back_in_stock_notification_subscriptions with a capital S.
Make sure your table prefix is the same in both your store and admin configure.php files.
Other than that, I'm not sure but this is something you've done wrong and not a problem with the software.
Hope that helps.
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Conor
I was able to pull the page up by removing line #100 of back_in_stock_notifications.php in admin.
$products_query_raw = strtolower(str_replace("\n", ' ', $products_query_raw));
The page and notifications seem to be working fine,.
I have not explored more if there would be any other implications as a result of removing this line.
Please update if suspect any.
Thanks and happy 4th.
Tony
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
Tonyy
I was able to pull the page up by removing line #100 of back_in_stock_notifications.php in admin.
$products_query_raw = strtolower(str_replace("\n", ' ', $products_query_raw));
Okay, I see what happened there then. You're clearly the first person to use the software with a database that uses capital letters (that is actually very rare).
Sorry, I suppose that's technically a bug. I'll remove the strtolower() from the next version.
The reason things didn't break after you made this change is that the str_replace("\n", ' ', bit was added by the Zen Cart developers to the splitPageResults class in the latest versions of Zen Cart. In earlier versions, removing that part of the line would have broken the page altogether.
You should make the same change on line 181 by the way!
Enjoy your holiday day! :)
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
my notification was working properly (new zen cart and this was one of the first module)
now im done with all the modules this one does not seem to work
ive spend hours trying to figure out what the problem is.. reinstalled everything and still no luck
:frusty:
when i click on notify me button it goes to shopping cart page (as if i was clicking on shopping cart button) nothing is added or deleted just goes to shopping cart page instead of conformation of being added to notify list.
please help
-
Re: Ceon Back In Stock Notifications 3.0.0
i also noticed when I click on an item someone subscribed to from back in stock notification list in admin menu it takes me to the product edit page and on top it says *Category is Disabled
When I go to the item itself by catalog -> categories/products it does not say that..
i dont know if this is suppose to be set this way or not..
-
Re: Ceon Back In Stock Notifications 3.0.0
another thing...
when I manually go to the notification sign up page it does work
the thing that does not work is the link and the button on product info page
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
littlekid440
another thing...
when I manually go to the notification sign up page it does work
the thing that does not work is the link and the button on product info page
You've messed up with the placement of the form on the product info page template.
You've placed the form *inside* the add to cart form, which is wrong.. so the add to cart form is submitting the notification form to the shopping cart page.
Use a fresh template for the product_info page and start again on modifying it, taking better care this time to put eh back in stock notification form on a more appropriate (logical) place in the file and you should get things working.
All the best..
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
:shocking: o...
yes that did solve it
:oops:
Thank You
-
Re: Ceon Back In Stock Notifications 3.0.0
I'm having an odd issue in relation to this module. When i subscribe to a notification I get the initial email "You have successfully subscribed to the Back In Stock Notification List for:" but when i update the product quantity to test the email to the subscription it fails to send a notificaiton. I decided to check the database table back_in_stock_notification_subscriptions and see the details in there but notice that the email field is empty
id product_id customer_id subscription_code name email_address date_subscribed
3 623 3 NULL MyName NULL 2011-08-09 01:08:12
Any insight or help on the matter would be greatly appreciated.
if looking at the site will help identify the problem here's the link www.matchlockarms.com
thanks in advance!
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
matchlock
but when i update the product quantity to test the email to the subscription it fails to send a notificaiton.
The software doesn't automatically send e-mails when you updated the product's quantity.
You must send e-mails through the Back In Stock Notifications utility in the admin.
Quote:
Originally Posted by
matchlock
id product_id customer_id subscription_code name email_address date_subscribed
3 623 3 NULL MyName NULL 2011-08-09 01:08:12
Everything's fine.. obviously you didn't cop onto what the "customer_id" field is for. :)
(The e-mail address can be access through it, which is how the software works, to use the "most up to date" e-mail address when sending notifications.)
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Quote:
The software doesn't automatically send e-mails when you updated the product's quantity.
You must send e-mails through the Back In Stock Notifications utility in the admin.
Thanks for the quick reply. After a little guidance I see that everything is working perfectly :)
Is there any way to automate this to run nightly? The reason I ask is I don't manually update my quantities in the store so i have no idea when products come in stock (distributor feed).
Quote:
Everything's fine.. obviously you didn't cop onto what the "customer_id" field is for. :)
(The e-mail address can be access through it, which is how the software works, to use the "most up to date" e-mail address when sending notifications.)
All the best...
Conor
ceon
I see that now that you pointed it out. Thank again :clap:
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
matchlock
Thanks for the quick reply. After a little guidance I see that everything is working perfectly :)
No problem. :)
Quote:
Originally Posted by
matchlock
Is there any way to automate this to run nightly?
It's certainly possible.. it's not that hard to create a Zen Cart script that runs on a cron job and instigates the notification list run.
I haven't personally done this for Back In Stock Notifications but others have. I'm afraid I can't remember who.
If no-one posts here you might want to create a script yourself or get your developer to create one.
All the best..
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi Ceon, a great module and its working like a charm :cool: for me. I am running 1.3.9a and using 1.3.9b files and no problem. If you or anyone can give me little help that how can I add Captcha for notification however captcha is already installed on my store and working fine with contact us and other pages. Any guidance in this regard will be much appreciated, that what files I have to update ...
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
Mirza
Hi Ceon, a great module and its working like a charm :cool: for me. I am running 1.3.9a and using 1.3.9b files and no problem. If you or anyone can give me little help that how can I add Captcha for notification however captcha is already installed on my store and working fine with contact us and other pages. Any guidance in this regard will be much appreciated, that what files I have to update ...
Glad you like the software.
No-one has asked for a captcha for it as yet. It does require the user to fill in a "confirm e-mail" field, which uses an unusual name, specifically chosen to minimise the likelihood of misuse.
If someone here replies with instructions for you, great, otherwise, don't worry about it for now I'd say. As I said, we've had exactly zero reports of problems with automated submissions and that's with several thousand sites using the software.
All the best..
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
I should actually point out that you are advised NOT to use a captcha.
Contact us forms etc. are things the user will fill in willingly enough.. Back In Stock Notification forms aren't just a useful convenience for the customer, but a great marketing tool for your site.
A captcha is often a step too far for the customer to be bothered.. they'd have to really want the product to bother with a captcha.. entering their e-mail twice is more than enough bother for most people (people are lazy).
So my advice is don't shoot yourself in the foot applying a captcha for the sake of it. It wouldn't take long to add a captcha but you'd have to come up with a very good reason, and I can't see one, give what I've said above.
All the best..
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Thanks Ceon for your detailed response.
-
Ceon Back In Stock Notifications 3.0.2 Released!
Hi,
We have just released a new version of Ceon Back In Stock Notifications. The changes are minor, most people have no need to upgrade, but upgrading takes just 1 minute so we always advise doing so.
From the Revision History:
[ADDED] Sample modified files for Zen Cart 1.5.0beta added.
[UPDATED] Link to products page no longer uses SSL, as admin page links don't use SSL.
[BUGFIX] SQL queries were being run in lowercase in the Admin utility, which resulted in errors if a store uses a table prefix with capital letters in it.
3.0.2 can be downloaded from the Ceon website now.
It has been submitted to the downloads area and should be available there soon.
All the best..
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Thank you so much for this mod. It's exactly what I needed. Quick question though. On the product info page I would like this text to be split into two lines "To be notified when this product is back in stock please click here." How would I go about doing that? I looked in Firebug but I can't seem to find where I would change the code.
You can see here http://frompropertorocker.com/index....roducts_id=861 how the text is so long that it throws my cart area alignment off.
Thanks!!
-
Re: Ceon Back In Stock Notifications 3.0.0
I figured it out. I went to includes/languages/english/extra_definitions/back_in_stock_notifications.php
and added <br> in line 30 to get it the way I wanted.
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
nolsowski
I figured it out.
That's one way to do it! :)
The other would have been with some CSS, but what you've done is fine!
Glad you like the software, thanks for saying so.. I hope it brings you extra sales! :)
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
I downloaded this exciting looking mod and have read through the info.
But I thought I'd better ask before I start merging files - I use Stock by Attributes v1.4.9ajax and Product Attributes Grid v1.1.1 for some of my products in one category
Do you think this mod would play nice with those products. The 'buy now' boxes are in a fairly tight grid and I'm thinking the 'notifiy me' box wouldn't fit (?)
Sample product page:
http://w w w. meafordwool.com/Heavy-Wool-Socks/Sport
-
Re: Ceon Back In Stock Notifications 3.0.0
Hello,
Im running ZC v1.5.0RC1
I have installed Back In Stock Notifications Version 3.0.2
Its all good on the shop side, except on the account BIS Notification where it says "Below is a list of the Back In Stock Notification Lists to which you are subscribed.
To unsubscribe from a list simply uncheck (clear) the box beside the appropriate product and click"
When you click on the product name (In my case its "test product") it opens another window to a completely different product :unsure:
Also, it has not appeared in my admin,
Its not showing in: Configuration > Back In Stock Notifications
Its not showing in: Catalog > Back In Stock Notifications
Have I missed something? Cause I just cant find it anywhere on the admin side. :shocking:
Help appreciated thank you :smile:
-
Re: Ceon Back In Stock Notifications 3.0.0
It shows if you type in admin/back_in_stock_notifications.php but still it does not show in the admin for easy access.
Anyone know a fix???
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
soxophoneplayer
I downloaded this exciting looking mod and have read through the info.
But I thought I'd better ask before I start merging files - I use Stock by Attributes v1.4.9ajax and Product Attributes Grid v1.1.1 for some of my products in one category
I'm glad you like the sound of the software but am sorry to report that the software is not compatible with products that track their stock with attributes.
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
Ausgirl
Im running ZC v1.5.0RC1
I have installed Back In Stock Notifications Version 3.0.2
The latest version of the software was written before code for adding a link to Back In Stock Notifications was required for 1.5.x. A new version will be released in a week or two.
I suggest you use 1.3.9 until then.
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Quote:
Originally Posted by
conor
Hi,
The latest version of the software was written before code for adding a link to Back In Stock Notifications was required for 1.5.x. A new version will be released in a week or two.
I suggest you use 1.3.9 until then.
All the best...
Conor
ceon
No worries, thanks :)
-
Re: Ceon Back In Stock Notifications 3.0.0
I'm using 2. something and have a lot of subscriptions in. If I install 3.0.2 will those subscriptions still stay and work or will I lose them all?
-
Re: Ceon Back In Stock Notifications 3.0.0
Quote:
Originally Posted by
amyleew
I'm using 2. something and have a lot of subscriptions in. If I install 3.0.2 will those subscriptions still stay and work or will I lose them all?
You will not lose any subscriptions they will stay there.
-
Re: Ceon Back In Stock Notifications 3.0.0
hey conor - i notice you use "FILENAME_PRODUCT_INFO" for all your links. we have several specialized product types and things get all crazy when you don't use the right product_TYPE_info page.
i'm looking into it, but have you considered using the zen_get_info_page($variable->fields['products_id']) function? i'm not sure yet what to make the $variable or how to generate it.
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
apogeerockets
but have you considered using the zen_get_info_page($variable->fields['products_id']) function?
Yeah, I will probably make that update in the future, maybe before Christmas.
Have a nice weekend!
Al the best..
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
I am currently using 3.0.2 on ZC 1.3.9.h. without issue. I have installed the new ZC 1.5.0 in a demo directory, as suggested in the installation instructions, and I'm slowly working through add on's that I want to continue using, checking to see if they work. I've carefully added BISN but have a issue of it not appearing on my admin panel. It works on the customer side but is not listed on the admin menu under "Catalog". I've actually installed it twice with no change. Ideas?
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
Ranch Dog
I am currently using 3.0.2 on ZC 1.3.9.h. without issue. I have installed the new ZC 1.5.0 in a demo directory, as suggested in the installation instructions, and I'm slowly working through add on's that I want to continue using, checking to see if they work. I've carefully added BISN but have a issue of it not appearing on my admin panel. It works on the customer side but is not listed on the admin menu under "Catalog". I've actually installed it twice with no change. Ideas?
Zen Cart 1.5.0 has introduced some new restrictions on third party modules which make any module made for earlier versions of Zen Cart that want to add an item to the admin menu incompatible.
A new version of Back In Stock Notifications will be released in a week or two with support for adding the menu link back in.
I suggest not upgrading any live sites to 1.5.0 for a while.
All the best..
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Quote:
Originally Posted by
conor
Hi,
Zen Cart 1.5.0 has introduced some new restrictions on third party modules which make any module made for earlier versions of Zen Cart that want to add an item to the admin menu incompatible.
A new version of Back In Stock Notifications will be released in a week or two with support for adding the menu link back in.
I suggest not upgrading any live sites to 1.5.0 for a while.
All the best..
Conor
ceon
Thanks for the reply Conor, good to hear from you and I hope you are feeling well. Thanks for the explanation and I will hold off until the upgrade. I appreciate the response.
-
Re: Ceon Back In Stock Notifications 3.0.0
I need some help. I changed my site over to use SSL and now for some reason the back in stock notification script isn't working any more.
When i put in my details and click the notify button, the browser states its a non-secure form and the form data is going to submit the data unsecure. I click OK and the page reloads and shows the form on a page by itself. Here is a product that is out of stock if you'd like to try.
https://www.matchlockarms.com/index....oducts_id=2248
I'm sure it is something easy but i certainly cannot figure out what is wrong with it.
Thanks in advanced.
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
matchlock
I need some help. I changed my site over to use SSL and now for some reason the back in stock notification script isn't working any more.
Back In Stock Notifications creates its form links etc. using the NONSSL parameter for zen_href_link().
However, this is done because the standard Zen Cart code does as well. So I'm confused as to why it is mixing up the use of SSL and NONSSL.
Please get in contact privately via this link with FTP and admin details for your site and I'll take a look and see if the next version of Back In Stock Notifications should have this behaviour modified.
All the best..
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
matchlock
I tried to get in contact with you via your Contact Us page and the form's data was wiped for the same reason as the above (redirection/submission to non-SSL page from SSL page).
So although I still want to help fix this, it would seem that you have no choice at the minute but to disable SSL for your site and use it only for checkout.
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Quote:
Originally Posted by
conor
Hi,
I tried to get in contact with you via your Contact Us page and the form's data was wiped for the same reason as the above (redirection/submission to non-SSL page from SSL page).
So although I still want to help fix this, it would seem that you have no choice at the minute but to disable SSL for your site and use it only for checkout.
All the best...
Conor
ceon
Conor,
I found another thread where you were referring to the http and https must be pointing to the same location. I use .htaccess to rewrite the url to https and hide the fact that it is in a sub i.e. .com/XXXXX.
I haven't had a chance yet but I'm going to modify the httpd.conf to point the site directly to /XXXXX for both the http and https sites and modify the .htaccess respectivly. I believe this will fix it up. I will report back as soon as I have a moment to make the changes.
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
matchlock
I found another thread where you were referring to the http and https must be pointing to the same location. I use .htaccess to rewrite the url to https and hide the fact that it is in a sub i.e. .com/XXXXX.
Oh, well that explains why all form data is lost.. when you redirect from one URI to another any data being POSTed in a form is lost.
Never try to be cheap with your website and hide subdomains.. pay for an SSL certificate or don't use it at all. No other option is professional! And since SSL certificates cost as little as $10 a year, you have no excuse! :)
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Quote:
Originally Posted by
conor
Hi,
Oh, well that explains why all form data is lost.. when you redirect from one URI to another any data being POSTed in a form is lost.
Never try to be cheap with your website and hide subdomains.. pay for an SSL certificate or don't use it at all. No other option is professional! And since SSL certificates cost as little as $10 a year, you have no excuse! :)
All the best...
Conor
ceon
SSL is in place, I'm not cheap, just lazy and tried the easy way out with the URI rewrite :P
BTW where do you get SSL for $10 a year?
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
matchlock
SSL is in place, I'm not cheap, just lazy and tried the easy way out with the URI rewrite :P
Sorry.. but strange! Adding a redirect is not what I'd call the "lazy" way but the more complicated way, so I assumed you were using a shared SSL certificate.
I'm still waiting for you to get in contact privately? I'm only going to be online today, then not for a while, so if you get this please do get in contact to let me debug the SSL form issue for you (now that you'll have sorted the redirect issues).
Quote:
Originally Posted by
matchlock
BTW where do you get SSL for $10 a year?
http://www.namecheap.com
They're very good - we use them. :)
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Ah, I had never put the functions_general up before but when I did it showed the BACK_IN_STOCK_NOTIFICATION_TEXT_PRODUCT_LISTING_FORM_LINK instead the the correct define text. It does work on the product_info page. Did I do something wrong?
-
Re: Ceon Back In Stock Notifications 3.0.0
First let me say I love the mod,i have been using it one one site and its great tool for makeing more sales and understanding what people are waiting on.
This isi my issue
I started another zen cart,but i need to change the wording in the e-mail that gets sent out.
I just find where it is, if anybody know the path I need to take to get at the e-mail to change it I would be really thankful
Thank you
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi Delia,
Quote:
Originally Posted by
delia
Ah, I had never put the functions_general up before but when I did it showed the BACK_IN_STOCK_NOTIFICATION_TEXT_PRODUCT_LISTING_FORM_LINK instead the the correct define text. It does work on the product_info page. Did I do something wrong?
It sounds like you've missed uploading the file:
includes/languages/english/extra_definitions/back_in_stock_notifications.php
Upload it and the language defines won't be missing! :)
All the best..
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
Rakuda
First let me say I love the mod,i have been using it one one site and its great tool for makeing more sales and understanding what people are waiting on.
I'm glad you like it and that it is helping your business to maximise its profits.
Quote:
Originally Posted by
Rakuda
i need to change the wording in the e-mail that gets sent out.
I just find where it is, if anybody know the path I need to take to get at the e-mail to change it I would be really thankful
This is something you could really have found out yourself with a bit of looking around..
As is standard in Zen Cart, the text used by the module is defined in language defines.
On the admin side you'll find the e-mail text in
admin/includes/languages/english/back_in_stock_notifications.php
On the store side you'll find it in:
includes/languages/english/back_in_stock_notification_subscribe.php
You can adjust the content of the defines in those files to adjust the content of the e-mails sent out from the admin or when a customer first subscribes.
The actual layout of the e-mails can be changed by modifying the e-mail templates, as described in the documentation.
Hope that helps.
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
No, that's the point. It is uploaded and the product page works fine. But not the product listing.
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
delia
No, that's the point. It is uploaded and the product page works fine. But not the product listing.
Then Zen Cart isn't loading the file.. it's definitely an issue with the site, not the software, it's just a shared language define obviously that should be autoloaded.
Try uploading the files again.
If you are still stuck, send FTP details for the site and I'll take a look when I get a chance.
All the best..
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Does this work if a product is in stock, but an attribute (say a particular size of clothing) isnt?
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi, I'm using the latest version on a new 1.5 shop. After the installation the configuration options are not shwoing under "Configuration". I checked the database and there it is showing that it is installed under this configuration group. I am able to reach the section by using a direct link admin/back_in_stock_notifications.php
Another problem I have: After submitting my details (name & email) I click notify me, but it puts the product in my shopping cart...
Any ideas? I use a custom template, but the section 1 of 2 and 2 of 2 are properly merged in my tpl_product_info_display.php (for as far as I can see, but I'm not a programmer, maybe thats where it went wrong... :blush: but I can see/find it).
Edit: even if I do not enter my details it puts the product in my shopping cart instead of giving me a warning to fill out the form correctly.
-
Re: Ceon Back In Stock Notifications 3.0.0
Quote:
Originally Posted by
Gerjan
Another problem I have: After submitting my details (name & email) I click notify me, but it puts the product in my shopping cart...
Solved this point! After a good night sleep I found that I had misplaced a "</form>".
The other problem still excists:
Quote:
Originally Posted by
Gerjan
After the installation the configuration options are not showing under "Configuration". I checked the database and there it is showing that it is installed under this configuration group. I am able to reach the section by using a direct link admin/back_in_stock_notifications.php
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
dgent
Does this work if a product is in stock, but an attribute (say a particular size of clothing) isnt?
No, it's for the stock level of the main product only.
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
Gerjan
The other problem still excists:
New installations aren't compatible with 1.5 because of its stupid new admin restrictions for the menus. Only upgrades retain the menu link.
So just keep typing the admin page address into the browser's address bar for the meantime.
A new version will be out soon with support for adding in a menu link.
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Thought I made a mistake. Since it is compatible with 1.5 I thought that this issue was solved but I guess I'm wrong...
Thanks for your reply, I'll wait for the upgrade and I'll soon hit the Payal Donate button ;) TY for the great CEON mod's!
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
Gerjan
Thought I made a mistake. Since it is compatible with 1.5 I thought that this issue was solved but I guess I'm wrong...
It's listed as compatible with 1.5.x because when I uploaded the last version it worked fine with the test 1.5.0beta installation I was running.. but that was because I'd been testing a 1.5.x upgrade, not a new 1.5.0beta installation.. oops.
Unfortunately with the Zen Cart downloads area I can't adjust the info on it even as the developer of the software, so I couldn't remove the 1.5.x compatibility info!
Regardless, the best way to have things is a "proper" 1.5.x compatible version..
That'll be out very soon indeed, almost done.
Quote:
Originally Posted by
Gerjan
Thanks for your reply, I'll wait for the upgrade and I'll soon hit the Payal Donate button ;) TY for the great CEON mod's!
Thanks, I'm glad you like the software and that would be a very rare but nice gift to receive! ;)
Back to getting this stuff running then... :)
All the best...
Conor
ceon
-
Ceon Back In Stock Notifications 3.2.0 Released!
Hi,
It gives me great pleasure to announce the release of Ceon Back In Stock Notifications 3.2.0.
This is a significant update so all should upgrade!
It should be available from the downloads area soon and is also available for download now directly from Ceon.
From the Revision History:
[ADDED] Automatic database creation and configuration checking functionality added. The software will now automatically create the database table and add the configuration options. There is no longer any need to run an SQL script when installing the software!
[ADDED] Full support for Zen Cart 1.5.0 added.
[UPDATED] When building a link to a product's info page, Ceon Back In Stock Notifications now builds the appropriate link for the product's type. Previously the software built all product info page links for the general product type.
[UPDATED] All links to the product pages are now built using the current page's request type. Zen Cart uses NONSSL as standard but some templates use SSL for all links, so this change prevents any problems with mixed request types, which would otherwise show in the browser as SSL certificate/mixed content errors.
[UPDATED] Admin utility interface significantly updated with a much better look, now being similar in appearance to Ceon's other software for Zen Cart.
[UPDATED] On a product's info page, the number_of_uploads parameter is now removed from the link to the Back In Stock Notification form on that page. This should prevent the page being regenerated/reloaded because the browser thinks a different page is being loaded when the user really just wants to move down the page, saving the user time and avoiding the needless waste of server resources!
[UPDATED] On the back in stock subscription page, the number_of_uploads parameter is now removed from the links, simply to make the links nicer.
[BUGFIX] Only the sample file for the standard product type had the necessary code in it to allow overriding it using the standard Zen Cart template system. The sample files for all the supported product types now have this useful code.
As can be seen, this new version has a much nicer interface and a few other important changes.. not least the support for the links to product type pages other than the default product type!
Upgrade instructions are of course included in the documentation.
Please read and follow the upgrade instructions!
They're easy to follow and it shouldn't take long.
Enjoy!
All the best..
Conor
ceon
-
never satisfied, more functionality
Just in case there may be another version planned....just to mention what I have have changed/am missing from this mod in case others may find it useful.
1) Products with Subscriptions
a) I have changed the Category column to Model No.
Often I will order a not-normally-stocked product just on the basis of a subscription so having the model number is essential.
Similarly I have added the model number to the confirmation email for the same reasons.
b) The category that is shown for the product is not the master category.
2) List all Subscriptions
Often we correspond with a client directly and complete the order manually, so there is no need for the back in stock email.
It would be convenient to be able to delete individual subscriptions from the admin page rather than having to go into the db and do it directly in the table.
-
Re: Ceon Back In Stock Notifications 3.0.0
I would like to add this back onto my product page "To be notified when this product is back in stock please click here." but I can't remember how I took it off.
Could anyone tell me what I need to add back in?
Thanks!
Oh and if you need a link http://frompropertorocker.com/index....oducts_id=4654 that one is out of stock. v139h
-
1 Attachment(s)
Re: Ceon Back In Stock Notifications 3.0.0
Not sure what I did to screw this up, but on my center boxes I have
"To be notified when this product is back in stock please click here." showing up twice.
It shows once / properly on the actual product page, but not on the centerboxes ie 'New Products for April' etc.
http://www.zen-cart.com/forum/attach...1&d=1334789911
Which file do I need to start looking for?
:oops:
-
Re: never satisfied, more functionality
Hi Steve,
Quote:
Originally Posted by
torvista
Just in case there may be another version planned...
There is indeed. Probably a few weeks off.
Quote:
Originally Posted by
torvista
1) Products with Subscriptions
a) I have changed the Category column to Model No.
Often I will order a not-normally-stocked product just on the basis of a subscription so having the model number is essential.
Similarly I have added the model number to the confirmation email for the same reasons.
b) The category that is shown for the product is not the master category.
I may or may not look at these ones.. see if I get time.
Quote:
Originally Posted by
torvista
It would be convenient to be able to delete individual subscriptions from the admin page rather than having to go into the db and do it directly in the table.
This would definitely be handy. A quick implementation of this, using JavaScript protection only would probably be fine for me to add.
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
nolsowski
I would like to add this back onto my product page "To be notified when this product is back in stock please click here." but I can't remember how I took it off.
Could anyone tell me what I need to add back in?
Thanks!
Oh and if you need a link
http://frompropertorocker.com/index....oducts_id=4654 that one is out of stock. v139h
Your example product seems to be in stock, so I couldn't see the failure.
Basically, you must have modified your store template's tpl_product_info_display.php file but forgotten to put the Back In Stock Notifications modifications back in.
Copy them from the sample file in the distribution into your version of tpl_product_info_display.php.
All the best..
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
Limitless
Which file do I need to start looking for?
The output is added to the buy now button function zen_get_buy_now_button() in includes/functions/functions_general.php
So check it and if that's not it, try looking anywhere in your template where zen_get_buy_now_button() is called, in case you've used the variable it is assigned to twice.
That's as much as I can do to help... good luck!
All the best..
Conor
ceon
-
even more functionality
also on my to do list is adding a telephone field as a "fill this in if you want us to call you about this product" thing.
-
Re: even more functionality
Hi,
I'm using zen cart 1.3.9h and your back in stock addon (works great) but how could I set up a button in product listing page next to "out of stock" to redirect customers to the addon to be notified when in stock?
Thank you
-
Re: even more functionality
Hi,
Quote:
Originally Posted by
ilmarchez
I'm using zen cart 1.3.9h and your back in stock addon (works great) but how could I set up a button in product listing page next to "out of stock" to redirect customers to the addon to be notified when in stock?
Glad you like the software.. I'm working on v4 at the minute (with support for products with attributes via the forthcoming Ceon Product Variants module), hopefully it can be released soon.
The functionality you are asking for is already part of the software. You must have missed the step where you modify functions_general.php
Follow the installation instructions again (specifically the step "Updated Core File"), and you should be able to get things working so that the product listings link to the subscription form when a product (which has no attributes) is out of stock.
All the best..
Conor
ceon
-
forked extra functionality
Extra functionality
I am paying CEON to add these features to BISN for my own use.
Catalog
Adding an optional telephone number field
Adding an optional ask a question field
Admin:
Show product model in subscription list (sortable)
Add a Delete button for subscriptions
Status indication (manually changed) of whether the question has been answered or not.
It is not planned to include these in the current free version…let me know by pm if anyone wishes to contribute/have this functionality too.
Regards
Steve
-
Re: forked extra functionality
-
Re: Ceon Back In Stock Notifications 3.0.0
Quote:
Originally Posted by
conor
Hi,
Your example product seems to be in stock, so I couldn't see the failure.
Basically, you must have modified your store template's tpl_product_info_display.php file but forgotten to put the Back In Stock Notifications modifications back in.
Copy them from the sample file in the distribution into your version of tpl_product_info_display.php
.
All the best..
Conor
ceon
Thank you! I got the text added back into my product info page. But I do have another question. I would like to add the same text back to my product listing page and I don't remember how to do that. Like here: http://frompropertorocker.com/index....56_192_222_220 under the sold out image.
Thanks again!
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
I have just installed the add-on and everything turns out fine, i have the link under my out of stock items and everything in my zen cart admin. However, when i click on the link, nothing happens. There was no form displayed as i read it should have and nothing is reflected under the catalog in my admin.
Can someone point out to me what i could have missed out? I'm using v15.
Thanks so much!:smile:
-
Re: Ceon Back In Stock Notifications 3.0.0
Sorry, i mean when i click on the link to notify me, it brings me back to my product info page.
Thanks!
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
lovets
Sorry, i mean when i click on the link to notify me, it brings me back to my product info page.
Thanks!
There should be a form on that page.. you must not have installed the software properly.. specifically, you must not have applied the custom template modifications to the product info display template.
Try checking over the template files again and you should find your omission.
Hope that helps!
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi ceon,
i've missed that out indeed. have fixed it and working fine now, thanks! (:
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi Conor,
I just upgraded my old version back-in-stock-notification 2.2.4 to 3.2.0. My current system is zencart 1.5.0.
Now the notification form disappears on the bottom of the product info page, which means when I click "notify me", there is not any response.
However, the page by the following link works and there I succeeded in subscribing the notification and also received the emails.
PHP Code:
<a href="' . zen_href_link(FILENAME_BACK_IN_STOCK_NOTIFICATION_SUBSCRIBE, zen_get_all_get_params(array('action', 'products_id')) . 'products_id='. (int)$product_id .'POST') . '" target="_blank">
So it seems only the form building function doesn't work? Could you let me know what can be the problems?
Many thanks,
Ashely
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi Ashely,
Quote:
Originally Posted by
Ashely
I just upgraded my old version back-in-stock-notification 2.2.4 to 3.2.0. My current system is zencart 1.5.0.
Now the notification form disappears on the bottom of the product info page, which means when I click "notify me", there is not any response.
You've simply made a mistake when trying to merge the tpl_product_info changes. The code to output the form must be missing.
Simply use Beyond Compare and merge the Back In Stock Notification changes into your template file carefully and you'll be fine.
Have a nice weekend!
All the best...
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi Conor,
Many thanks for your fast response as always.
Yes, now I have fixed the problem in tpl_product_info page and it shows correctly. Thank you once again.
I have another question. I tried to put a "Notify me" button on the product listing page. It worked ok by opening a new page (<a href="' . zen_href_link(FILENAME_BACK_IN_STOCK_NOTIFICATION_SUBSCRIBE, zen_get_all_get_params(array('action', 'products_id')) . 'products_id='. (int)$product_id .'POST') . '" target="_blank">) for the customer to subscribe that particular item. However, it page doesn't pre-load the customer's details (i.e., name, email and if he/she subscribed before). Is there any way to fix this? I think I should add some codes but not sure where and what exactly to add. Could you help?
Many thanks again,
Ashely
p.s., Wish you a great weekend too! :-)
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi Ashely,
Quote:
Originally Posted by
Ashely
Many thanks for your fast response as always.
No problem, glad you are sorted now!
Quote:
Originally Posted by
Ashely
I have another question. I tried to put a "Notify me" button on the product listing page. It worked ok by opening a new page (<a href="' . zen_href_link(FILENAME_BACK_IN_STOCK_NOTIFICATION_SUBSCRIBE, zen_get_all_get_params(array('action', 'products_id')) . 'products_id='. (int)$product_id .'POST') . '" target="_blank">)
This is wrong:
PHP Code:
$product_id .'POST'
IT works because Zen Cart filters out the "POST", but basically, change that to get rid of the additional text ".'POST'":
Quote:
Originally Posted by
Ashely
Is there any way to fix this? I think I should add some codes but not sure where and what exactly to add. Could you help?
Sorry but the one thing I don't support for free is custom coding unless I can give an instant answer and on this occasion I can't remember offhand what you need to add, possibly an observer, I'm sure you understand.
Have a nice weekend!
All the best..
Conor
ceon
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi Conor,
Thanks for your previous response and help.
I encountered a new problem. In my customers' "Back in Stock Notification" section, the links of those items are totally incorrect. That is, by clicking the link, the customer is just led to a different product.
What could be wrong then?
Another question is regarding to the admin menu. Since I just upgraded my zencart store to 1.5.0, I did simply copy all the files from my test site to the live store. But after that, I found I could no longer find the "Back in Stock Notifications" link under the "Catalog" menu in admin. How can I bring back the link? Or must I removed the files and then re-install it?
Thanks very much again for your time and patience!
Will look forward to your reply.
Best Regards,
Ashely
-
Re: Ceon Back In Stock Notifications 3.0.0
Hi,
Quote:
Originally Posted by
Ashely
Thanks for your previous response and help.
Glad you're sorted.
Quote:
Originally Posted by
Ashely
I encountered a new problem. In my customers' "Back in Stock Notification" section, the links of those items are totally incorrect. That is, by clicking the link, the customer is just led to a different product.
What could be wrong then?
The links to the products should be correct.. the only way they wouldn't be is if the product IDs have changed since the subscriptions were created.
Which would mean that this isn't a problem with BISN but with your database.
Sorry, I can't help you with that here. Check the product IDs for the products and the subscrptions.
Quote:
Originally Posted by
Ashely
Another question is regarding to the admin menu. Since I just upgraded my zencart store to 1.5.0, I did simply copy all the files from my test site to the live store. But after that, I found I could no longer find the "Back in Stock Notifications" link under the "Catalog" menu in admin. How can I bring back the link? Or must I removed the files and then re-install it?
That's not the way to upgrade Zen Cart really, nevertheless all you need to do for this is run the 1.5.0 installation code. You can do that by copying the following file from the BISN zip to your store, then when you go to the admin it will automatically add the link in:
admin/includes/functions/extra_functions/back_in_stock_notifications_admin_page_reg.php
Enjoy the rest of your weekend!
All the best..
Conor
ceon
-
Re: even more functionality
Quote:
Originally Posted by
conor
Hi,
Glad you like the software.. I'm working on v4 at the minute (with support for products with attributes via the forthcoming Ceon Product Variants module), hopefully it can be released soon.
The functionality you are asking for is already part of the software. You must have missed the step where you modify functions_general.php
Follow the installation instructions again (specifically the step "Updated Core File"), and you should be able to get things working so that the product listings link to the subscription form when a product (which has no attributes) is out of stock.
All the best..
Conor
ceon
Will the next version include the ability to delete subscriptions? I've been doing it through phpMyAdmin up until now.
-
Re: even more functionality
Hi,
Quote:
Originally Posted by
laydback
Will the next version include the ability to delete subscriptions? I've been doing it through phpMyAdmin up until now.
It will actually, as a very nice person is donating a bit towards its development and he asked for that very feature.
Lucky for you then!
All the best..
Conor
ceon
-
Re: even more functionality
Is there a way to hack this add-on to display the subscriber's email address in the email that is sent when they sign up? Otherwise, to dig up the email you have to go all the way into the admin section and search for it. If the email address was right there at the bottom of the email (perhaps with useranme, time, ip, for office use, etc) it would be helpful.
-
Re: even more functionality
Hi,
Quote:
Originally Posted by
pricediscrimination
If the email address was right there at the bottom of the email (perhaps with useranme, time, ip, for office use, etc) it would be helpful.
The "extra info" Zen Cart adds to its other standard e-mails?
I don't see why I shouldn't add that into version 4. Will do.
Don't ask when v4 is out, I don't comment, time is tight at the minute, support from people here very weak, and it'll be out when I have time to finish and release it; maybe, hopefully, later this month.
All the best..
Conor
ceon
-
Re: even more functionality
Quote:
Originally Posted by
conor
Hi,
The "extra info" Zen Cart adds to its other standard e-mails?
I don't see why I shouldn't add that into version 4. Will do.
Don't ask when v4 is out, I don't comment, time is tight at the minute, support from people here very weak, and it'll be out when I have time to finish and release it; maybe, hopefully, later this month.
All the best..
Conor
ceon
Ohhh when will that be out??
jk :P :P :P Thank you so much!
-
Re: even more functionality
I thought I would post up something that I have done that I found helpful to use with this mod.
I update my inventory often, but don't always remember to check the Back In Stock page to send users emails.
Using the information found in this thread:
http://www.zen-cart.com/showthread.p...for-a-cron-job
This is for 1.5, but in the referenced thread, you can deduce what you need to do for earlier versions.
Create a new admin profile and grant it ONLY access to the 'Ceon Back in Stock Notifications' page.
Create a new admin user and assign it to the newly created profile.
Take note of the system assigned user number!
Edit your admin/includes/init_includes/init_admin_auth.php file
Add the following (in red):
if (!defined('IS_ADMIN_FLAG')) die('Illegal Access');
if (!isset($_SESSION['admin_id']) && defined('CRON_ADMIN_USER_ID') && (int)CRON_ADMIN_USER_ID != 0) {
$_SESSION['admin_id'] = CRON_ADMIN_USER_ID;
}
Now edit ceon's BIN file (admin/back_in_stock_notifications.php)
Right at the top where it says 'don't touch!',
add (in red) Change the # to be what YOUR newly created user id NUMBER is:
define('CEON_BACK_IN_STOCK_NOTIFICATIONS_VERSION', '3.2.0');
define('CRON_ADMIN_USER_ID', '#');
require('includes/application_top.php');
Now schedule a cron job every few hours/days/whatever to send the emails, if any are needing to be sent.
Adjust the below to suit your site.
Cron job:
wget --no-check-certificate 'https://www.MYDOMAIN.com/admin-XXXXXXXXXXXXX/back_in_stock_notifications.php?action=send&option=4'
Enjoy.
-
Re: even more functionality
I am running version 1.3.9 H I have products with attributes stock,. Will this be compatible?
-
Re: even more functionality
Hi,
Quote:
Originally Posted by
WiccanWitch420
I am running version 1.3.9 H I have products with attributes stock,. Will this be compatible?
The software will work for any product without attributes. For products with attributes, only the stock of the "main" product is tracked, the stock of the attributes is not, so notifications can't be sent out for them.
All the best..
Conor
ceon
-
Re: even more functionality
Hi Conor,
Another amazing add on, well done!
I think I may have broken it though :huh:
I had a test customer setup which I used to add a product notification so I could see the layout of the form and extra text on my product info page. Once I had played with the formatting of the page I then deleted the test customer. Now when I go into the admin it shows that I still have a product with a back in stock notification against it which I cannot get rid of.
I tried sending the notification email in the hope that would clear it however I just get a HTTP 500 Internal Server Error.
Is there a way I can delete this record from the database? If so where would I find it?
Thanks in advance for any help you can give.
-
Re: even more functionality
Hi,
Quote:
Originally Posted by
OLCS
Another amazing add on, well done!
Glad that you like it and that it may be useful for your store! Clearly it's not the best-written module though, there's a lot that's quite basic in it, that should be done much better. :)
Quote:
Originally Posted by
OLCS
I think I may have broken it though :huh:
I'm not sure entirely, but, well, it doesn't have functionality to delete subscriptions when a customer is deleted, and various other functionality like that that ideally it should have.
Quite simply, we've never deleted a customer, and no-one else who maybe has done so, has ever asked for the software to also delete subscriptions for customers that have been deleted. Adding such support would be easy but obviously as the admin has no notification system, the core file that handles the customer deletion would have to be modified.
Or, if there's a simple way to check that a customer doesn't exist, at the time when e-mails are sent, the subscription could be deleted then regardless... currently they are deleted after being sent though so this is why I say above "not sure entirely".. certainly a 500 error is "not right".
I've just been notified that Ceon Cardsave Direct, Ceon PaymentSense Direct and Ceon Iridium Direct are all incompatible with PHP 5.4 (due to passing an object by reference) so I'm busy sorting those out.
I'll check into this issue for BISN version 4, when I get time to work on it.
Quote:
Originally Posted by
OLCS
Is there a way I can delete this record from the database? If so where would I find it?
Thanks in advance for any help you can give.
In the meantime use PHPMyAdmin and search by product_id in the back_in_stock_notification_subscriptions table, then just delete that subscription by hand.
Not the nicest way to do things, but the module is fairly basic (although definitely useful and usable as attested by the increased sales on people's stores :) ).
Have a good evening.
All the best...
Conor
ceon
-
Re: even more functionality
Hi Conor,
Thanks for the response, and thanks for coming back to me so quickly.
Quote:
Clearly it's not the best-written module though, there's a lot that's quite basic in it, that should be done much better. :)
You are way too harsh on yourself, it works really well, and if I wasn't a doughnut I wouldn't have had this problem :) Your solution worked though so am all ok again now, thank you.
Quote:
I've just been notified that Ceon Cardsave Direct, Ceon PaymentSense Direct and Ceon Iridium Direct are all incompatible with PHP 5.4 (due to passing an object by reference) so I'm busy sorting those out.
Sounds like a busy time you have ahead of you, quite understandable you don't have the time to sort out little 'niggles'.
Quote:
Have a good evening
Thank you. You too!
-
Re: even more functionality
Hi,
Quote:
Originally Posted by
OLCS
Thanks for the response, and thanks for coming back to me so quickly.
No problem, I'll always reply when able.
Quote:
Originally Posted by
OLCS
You are way too harsh on yourself, it works really well, and if I wasn't a doughnut I wouldn't have had this problem :) Your solution worked though so am all ok again now, thank you.
Thanks for the nice comments, but my views on software certainly mean that BISN isn't great at all.. its functionality is decent enough though and it makes a difference so that'll do for now. :)
Glad things are working now. Not sure why a 500 error would have appeared.. we'll see if I encounter it when looking into your issue further for version 4.
Quote:
Originally Posted by
OLCS
Sounds like a busy time you have ahead of you, quite understandable you don't have the time to sort out little 'niggles'.
Ahead of me, lol, if I'd ever any time all these things would work well (although in a completely different form.. complete tangent... anyway..)
Quote:
Originally Posted by
OLCS
Thank you. You too!
Will do. :)
All the best...
Conor
ceon
-
Re: even more functionality
Is there anything I could do to make it work? Or would it be worthwhile for me to install and use for all products, since most of the time when I restock I will get the different attrributes in at the same time? Do you know of a mod that is more compatible with the stock by attributes>? Any ideas? I have 1300 products, and about 400 of them have attributes (clothing sizes) Do you have a demo site with this installed or any screen shots of how this mod works, etc? Let me know. thanks.
-
Re: even more functionality
Hi,
Quote:
Originally Posted by
WiccanWitch420
Is there anything I could do to make it work? Or would it be worthwhile for me to install and use for all products, since most of the time when I restock I will get the different attrributes in at the same time? Do you know of a mod that is more compatible with the stock by attributes>?
This is the only Back In Stock module for Zen Cart as far as I know.
Ceon has never used Stock by Attributes on any site as we wrote our own software for that for a client that had wanted "Product Variants" functionality sometime back in 2007. I've added support for it into v4 of BISN.
So I'm afraid we'll never be adding support for the Stock by Attributes module. Others are of course free to and to send us the code and I'll include it in a future version of BISN. Given the effort that might require I'm not surprised no one has done that as yet.
Quote:
Originally Posted by
WiccanWitch420
Any ideas? I have 1300 products, and about 400 of them have attributes (clothing sizes) Do you have a demo site with this installed or any screen shots of how this mod works, etc? Let me know. thanks.
lol it's not too hard to find the Ceon website.. just like most other users here I tend to add a link in my "sig", it's the bit that's under my name. :)
Have a nice weekend.
All the best..
Conor
ceon
-
Re: even more functionality
I see that you have the stock by variants. What would it entail for me to move my system to stock by variants and use your restock notification mod too? All of my clothing products right now use stock by attributes, here is an example http://www.mysticcrypt.com/plus-size...ue-p-1746.html
-
Re: even more functionality
Hi,
Quote:
Originally Posted by
WiccanWitch420
I see that you have the stock by variants. What would it entail for me to move my system to stock by variants and use your restock notification mod too? All of my clothing products right now use stock by attributes, here is an example
http://www.mysticcrypt.com/plus-size...ue-p-1746.html
Sorry, this isn't the right place to talk about this.. the Ceon Product Variants software is separate from Ceon Back In Stock Notifications. No thread exists for it here yet, not least because the software isn't finished/released!
You can contact Ceon through our website if you like.
All the best..
Conor
ceon
-
Warning: an error occurred
Hello, I'm in the process of installing this mod and am coming across a problem I haven't seen addressed here.
I've loaded all the mod's files into my local (test) version of the shop, and I visited Catalog > Ceon BISN in the admin to activate the module.
Now I visit an out-of-stock product in the shop, and lo and behold, there's a nice form for me to sign up for notifications. Great! I sign up and get the confirmation email, but when I click on the link to go to the account_back_in_stock_notifications page, I see "Warning: an error occurred, please refresh the page and try again." This usually seems to crop up on a database error, but there's nothing in my myDEBUG cache. Nothing in phpErrorLog either. I check the database and I find the table called back_in_stock_notifications_subscriptions, with my subscription in it. I try deactivating and reactivating the mod, then revisiting Catalog > Ceon BISN but I still get the same error. The subscription shows up fine in the admin.
I've triple-checked that all the files are in place, and I'm not sure where this error originates. I'd welcome any insight.
Thanks so much!
erin.