Page 12 of 51 FirstFirst ... 2101112131422 ... LastLast
Results 111 to 120 of 510
  1. #111
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Back In Stock Notifications

    Hi Jeroen,

    It sounds like you haven't installed the module properly. You must copy the updated template fiels for the account section to the templates directory for your site, or modify any existing template files, adding in the code requierd for the Back In Stock Notification Subscriptions section to appear in the My Account section.

    Hope that helps.

    All the best...

    Conor

  2. #112
    Join Date
    Nov 2006
    Posts
    296
    Plugin Contributions
    2

    Default Re: Back In Stock Notifications

    Quote Originally Posted by conor View Post
    Hi Jeroen,

    It sounds like you haven't installed the module properly. You must copy the updated template fiels for the account section to the templates directory for your site, or modify any existing template files, adding in the code requierd for the Back In Stock Notification Subscriptions section to appear in the My Account section.
    Conor
    Hello Conor,

    Thanks, i just figured out that it could only be in the tpl_account_deault and then i read your post
    The file is there, it is modified properly, and it is in my includes\templates\MY_TEMPLATE\templates but somehow this template simply isn't picked up by zen-cart. (the unsubscribe from newsletter is in the file as well, but not showing either) I have seen that before and i am probably going to solve it by putting it in the core unfortunately.

    Anyway, not related to your mod i guess, thanks anyway,
    Jeroen

  3. #113
    Join Date
    Nov 2006
    Posts
    296
    Plugin Contributions
    2

    Default Re: Back In Stock Notifications

    Quote Originally Posted by nagelkruid View Post
    Hello Conor,
    This mod looks like an excellent add-on for our shop and i can't wait to put it live, however, during test i ran into an issue i'ld like to share.

    When i subscribe from an existing account all goes well, but i can't find the unsubscribe option in the account details.
    Can you give me a pointer where i should look and find out why the unsubscribe is not available in the account details?

    i do run a shop that is only available in the dutch language and english is not active, maybe that's related somehow?

    Cheers,
    Jeroen
    Ok, those options depend on the "display newsletter unsubscribe option" which i have disabled because i don't want the link in the sidebox. However, disabling in the sitebox means also disabling these options under the account settings which -off course- is not my intent.

    Just wanted to add that info if anyone else comes accross it.

    I am ready to "go live", thanks!

  4. #114
    Join Date
    Nov 2006
    Posts
    296
    Plugin Contributions
    2

    Default Re: Back In Stock Notifications

    2 more remarks that may help or not

    * maybe you should consider to advice in the readme to include account_back_in_stock_notifications to the ROBOTS_PAGES_TO_SKIP in the file meta_tags.php so robots are advised not to index this page.

    * i encountered an error during subscribing as a customer that the email_template couldn't be found in my_path/email/nl/email_template....

    I created an nl folder and copied the templates in there so pretty easy to solve, i was just surprised as i never had that before.
    (also surprised that i could read my whole path(!) in there as a customer, mmm)

    Maybe those are worth looking at next time you are looking at the module.

    Cheers,
    Jeroen

  5. #115
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Back In Stock Notifications

    Hi Jereon,

    Quote Originally Posted by nagelkruid View Post
    Ok, those options depend on the "display newsletter unsubscribe option" which i have disabled because i don't want the link in the sidebox. However, disabling in the sitebox means also disabling these options under the account settings which -off course- is not my intent.
    Ahh. I should have anticipated that some people might choose some "bizarre" options (running the BISN module but not availing of Zen Cart's product notifications!)

    I'll adapt the code to always display the back in stock notifications unsubscription section, regardless of whether or not the product notification subscriptions and newsletter subscription sections are being displayed.

    Quote Originally Posted by nagelkruid View Post
    maybe you should consider to advice in the readme to include account_back_in_stock_notifications to the ROBOTS_PAGES_TO_SKIP in the file meta_tags.php so robots are advised not to index this page.
    I'm guessing you meant the subscription page and unsubscription page? Obviously robots can't access anywhere in the account section as you have log in first. I think I'll add advice about adding the two subscription handling pages to the meta tags file. (More and more features to add to the module...).

    Quote Originally Posted by nagelkruid View Post
    encountered an error during subscribing as a customer that the email_template couldn't be found in my_path/email/nl/email_template....
    That's a Zen Cart issue and nothing to do with the module itself. So rather than document standard Zen Cart features I feel that there's no need to add extraneous information to the docs.

    Glad you like the software!

    All the best...

    Conor
    Ceon

  6. #116
    Join Date
    Nov 2006
    Posts
    296
    Plugin Contributions
    2

    Default Re: Back In Stock Notifications

    Quote Originally Posted by conor View Post
    Glad you like the software!

    Ceon
    It is excellent, thanks a lot, will check out the ship mod in a few as well, cheers.

  7. #117
    Join Date
    Nov 2006
    Posts
    296
    Plugin Contributions
    2

    Default Re: Back In Stock Notifications

    Quote Originally Posted by nagelkruid View Post
    It is excellent, thanks a lot, will check out the ship mod in a few as well, cheers.
    hah, still very happy with this mod, people like to use it too...

    i just looked at re-enabling product notifications as well but when those are enabled i actually want to disable the checkbox when it isn't on stock for the product notification so people don't get confused.

    I did this by adding code to includes/modules/sideboxes/product_notifications.php right under the first check

    Code:
    if ($show_product_notifications == true) {
    $check_query = "select count(*) as count
                          from " . TABLE_PRODUCTS . "
                          where products_id = '" . (int)$_GET['products_id'] . "'
                          and products_quantity != 0";
           $check = $db->Execute($check_query);
           if ($check->fields['count'] <= 0) {
            $show_product_notifications= false;
           }
        else {
            }            
    }
    Now it doesn't show the product notification sidebox when the product isn't on stock.

    don't mean to spam your thread, thought it was related enough to make a note of it here.

    Cheers,
    Jeroen

  8. #118
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Back In Stock Notifications

    Hi Jeroen,

    Quote Originally Posted by nagelkruid View Post
    hah, still very happy with this mod, people like to use it too...
    Yes, I'm hearing that it seems to make a real difference to sales, which is nice to hear! Still working on a new version with a few modifications, will have a release sometime this month!

    I do have a suggestion for your code. Instead of:

    Quote Originally Posted by nagelkruid View Post
    Code:
    $check_query = "select count(*) as count
                          from " . TABLE_PRODUCTS . "
                          where products_id = '" . (int)$_GET['products_id'] . "'
                          and products_quantity != 0";
           $check = $db->Execute($check_query);
           if ($check->fields['count'] <= 0) {
            $show_product_notifications= false;
           }
    You could use the following, as it is a little "cleaner" and copes with products that have a negative stock level (which does happen and is one of the main changes in the forthcoming version of the module):

    Code:
    $check_query = "SELECT products_quantity
                          FROM " . TABLE_PRODUCTS . "
                          WHERE products_id = '" . (int) $_GET['products_id'] . "';";
    
           $check = $db->Execute($check_query);
           
           if ($check->fields['products_quantity'] <= 0) {
            $show_product_notifications= false;
           }
    Quote Originally Posted by nagelkruid View Post
    don't mean to spam your thread, thought it was related enough to make a note of it here.
    No problem.. thought I may as well make the code cleaner if it was going to be used by anyone else! :)

    All the best...

    Conor
    Ceon

  9. #119
    Join Date
    Nov 2006
    Posts
    296
    Plugin Contributions
    2

    Default Re: Back In Stock Notifications

    Quote Originally Posted by conor View Post
    No problem.. thought I may as well make the code cleaner if it was going to be used by anyone else! :)
    Hah! I started out with that statement but i couldn't get it to work, don't remember the exact error but after a few hours i gave up and came up with the count (which i knew was second best)

    Now i pasted your code in and it works like a charm.
    Something tells me my php learning curve has just started

    thanks for the input.
    Jeroen

  10. #120
    Join Date
    Nov 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Back In Stock Notifications

    DISSAPPEARING WEBSHOP!..

    Hi,

    Im very pleased that you took the time to make this very useful add-on. I have installed it according to instructions (I have yet to install the database) and hope someone can help me out?
    After I installed it my webshop dissappeared... Not good.. I do have a Norwegian override template on it, could that be the problem? I have not yet installed the database, could this explain why my entire webshop have disapperaed? I dont get any errormessages, just a white page. (www.fjellanger.net/webshop).
    Im a newbie with too little knowledge of php, html etc, so its hard for me to figure out what could have gone wrong. Looking at the names of the files that I have installed (uploaded), it doesnt seem to be any that should warrant my entire site to not show?

    Also - I see the add-on comes with pictures, but it doesnt say anywhere in the installation instruction to put them on the server? Should they simply just be put in the image folder in the zen-cart installation?

    Thanks a million in advance for any help that can make my website show up again!

    Ruth ;)

 

 
Page 12 of 51 FirstFirst ... 2101112131422 ... LastLast

Similar Threads

  1. Ceon Back In Stock Notifications 3.0.0
    By conor in forum Addon Admin Tools
    Replies: 204
    Last Post: 8 Apr 2025, 05:19 PM
  2. Replies: 146
    Last Post: 13 Dec 2020, 09:52 AM
  3. Replies: 4
    Last Post: 14 Feb 2013, 09:33 PM
  4. v139h Back In Stock Notifications only notify customers ONE time?
    By SRQHoyas in forum General Questions
    Replies: 0
    Last Post: 9 Jun 2012, 01:58 PM
  5. Problems with Back In Stock Notifications addon
    By dhanesh in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 21 Aug 2008, 02:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR