Results 1 to 10 of 510

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    75
    Plugin Contributions
    0

    Default Re: Back In Stock Notifications

    Quote Originally Posted by conor View Post
    Yes, it would be easy enough
    Could you tell me how?

    Quote Originally Posted by conor View Post
    .. 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

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

    Default Re: Back In Stock Notifications

    Hi,

    Quote Originally Posted by chabbu View Post
    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_notificatio ns.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!

    Quote Originally Posted by chabbu View Post
    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

  3. #3
    Join Date
    May 2008
    Location
    Italy
    Posts
    83
    Plugin Contributions
    0

    Default 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
    www.egame74.com console accessories

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

    Default Re: Back In Stock Notifications

    Hi,

    Quote Originally Posted by cla74 View Post
    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.

    Quote Originally Posted by cla74 View Post
    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

  5. #5
    Join Date
    May 2008
    Location
    Italy
    Posts
    83
    Plugin Contributions
    0

    Default Re: Back In Stock Notifications

    Quote Originally Posted by conor View Post
    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?
    www.egame74.com console accessories

  6. #6
    Join Date
    May 2008
    Location
    Italy
    Posts
    83
    Plugin Contributions
    0

    Default Re: Back In Stock Notifications

    Quote Originally Posted by conor View Post
    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?
    www.egame74.com console accessories

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

    Default Re: Back In Stock Notifications

    Hi,

    Quote Originally Posted by cla74 View Post
    [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.

    Quote Originally Posted by cla74 View Post
    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:

    PHP Code:
    $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
    Last edited by conor; 19 Oct 2009 at 10:15 PM.

  8. #8
    Join Date
    May 2008
    Location
    Italy
    Posts
    83
    Plugin Contributions
    0

    Default Re: Back In Stock Notifications

    Quote Originally Posted by conor View Post
    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:

    PHP Code:
    $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
    Bed news!!
    It wont works anyway!!
    www.egame74.com console accessories

  9. #9
    Join Date
    May 2008
    Location
    Italy
    Posts
    83
    Plugin Contributions
    0

    Default Re: Back In Stock Notifications

    Quote Originally Posted by conor View Post
    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:

    PHP Code:
    $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
    Ok it works in the product free shipping info display.
    But not in MY Account
    www.egame74.com console accessories

 

 

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

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